Key takeaways
- WordPress saves revisions of posts and pages so you can compare changes and restore an earlier version.
- Autosave is a separate safety net that protects unsaved work if your browser closes or your connection drops.
- Revisions are not a backup: they only cover content, and only for posts and other types that support them.
Anyone who edits a website has had that moment: a paragraph is deleted by mistake, a colleague overwrites a page, or the browser crashes halfway through a long article. WordPress has two built-in features designed for exactly these situations: revisions and autosave.
Both run quietly in the background, so many site owners never look at them until something goes wrong. This guide explains how each one works, how to use them to recover content and what their limits are.
What are WordPress revisions?
A revision is a saved copy of a post or page at a particular point in time. Each time you save a draft, update a published post or publish something new, WordPress can store the previous version as a revision. Over time, this builds a history of how the content has changed.
Revisions store the title, the content and the excerpt. They do not generally store everything else connected to a post, such as its categories, tags or featured image, and settings added by your theme or other tools may or may not be included. It is best to think of revisions as a history of the words on the page.
Revisions are available for posts and pages by default. Custom post types only have revisions if they have been set up to support them, so if you use custom content types, check whether this feature is turned on. Our guide to WordPress custom post types explains how these content types work.
What is autosave?
Autosave is different. While you are editing, WordPress periodically saves a temporary copy of your work in the background. If your browser closes, your computer restarts or your internet connection drops, you can usually recover what you were writing when you return to the editor.
There are a few important differences between autosave and revisions:
- Autosave keeps only the latest automatic copy for each user, rather than a full history.
- On a published post, an autosave does not change what visitors see. It is saved alongside the live version until you choose to update.
- When you return to a post with a newer autosave, WordPress normally shows a notice offering to restore it.
WordPress also keeps a copy of your unsaved changes in the browser itself, which can help if the connection to the server fails. This is a useful extra layer, but it depends on using the same browser on the same device.
How to view revisions in the block editor
In the block editor, open a post or page and look at the settings sidebar. If the post has revisions, you will see a Revisions item, often with a count, in the post summary panel. Click it to open the revisions screen.
If you do not see a revisions option, there are a few likely reasons:
- The post has not been saved more than once, so there is no earlier version yet.
- Revisions have been turned off or limited on your site.
- The content type does not support revisions.
Our WordPress block editor guide covers the editor interface more generally if you are still finding your way around it.
If editing your site feels harder than it should, our WordPress development service includes training so your team can manage content confidently.
Comparing revisions
The revisions screen shows two versions side by side. Removed text is highlighted on one side and added text on the other, so you can see exactly what changed between saves. A slider at the top lets you move through the history, and each revision is labelled with the date, time and the user who made it.
You can also tick the option to compare any two revisions rather than neighbouring ones. This is helpful when you want to see everything that changed between an older version you were happy with and the current one.
Because the block editor stores layout information alongside text, comparisons sometimes include block markup that looks unfamiliar. Focus on the visible text changes, and do not worry about the technical comments that describe blocks.
Restoring an earlier version
When you find the version you want, click the button to restore that revision. WordPress replaces the current content with the older version. Importantly, the version you are replacing is itself kept as a revision, so restoring is reversible.
A few practical tips make restoring safer:
- Check what will change. Restoring brings back the whole title, content and excerpt from that point, not just one paragraph. If you only need a single section, copy it from the revisions screen and paste it into the current version instead.
- Review before updating a published post. On a published post, restoring a revision may update the live page straight away. Read through it carefully afterwards.
- Remember what is not restored. Categories, tags, featured images and many custom settings stay as they are, so check them separately.
Recovering from an autosave
If you return to a post and WordPress finds an autosave newer than the saved version, it will usually display a message offering to view or restore it. You can open the comparison to see the differences before deciding.
If you choose to restore the autosave, its contents load into the editor. You then need to save or update as normal to keep them. If you ignore the notice and save, the autosave is replaced, so review it first if there is any chance it holds work you need.
Revisions when several people edit
On sites with multiple editors, revisions provide a useful record of who changed what and when. If someone edits a page and the result is not what you expected, the revisions screen shows the user, time and exact changes.
WordPress also warns you if another user is currently editing the same post, and lets you take over or wait. This reduces, but does not remove, the risk of people overwriting each other's work. Clear responsibilities help, and our guide to WordPress user roles explains how to give people the right level of access.
Managing the number of revisions
By default, WordPress keeps an unlimited number of revisions. On sites where content is updated often, this can mean a large number of stored versions for each post. They are kept in the database, so a very long history can make the database larger.
Developers can limit how many revisions are kept, or turn them off, using a setting in the site's configuration file. Some hosting providers also set a limit for you. A sensible limit can keep the database tidier while still giving you enough history to recover from mistakes.
Think carefully before turning revisions off completely. They cost little on most sites and can save a lot of rework. If database size is a concern, our guide to WordPress database cleanup covers how to tidy old revisions and other data safely, ideally after taking a full backup.
The autosave interval can also be changed in the configuration file. The default suits most sites, and making autosave much more frequent can create extra load on busy servers.
Revisions are not a backup
It is easy to assume that revisions mean your content is safe. They help with editing mistakes, but they have important limits:
- If a post is permanently deleted, its revisions are deleted too.
- They do not cover images, theme files, settings, users, orders or anything outside post content.
- They live in the same database as everything else, so if the database is damaged or the site is compromised, revisions are affected as well.
A proper backup, stored separately from the website, is still essential. Our guide to building a website backup and recovery plan explains what to back up and how to check you can restore it.
Good habits for safer editing
- Save drafts regularly when working on long content, rather than relying only on autosave.
- For major rewrites of an important page, consider working on a copy as a draft, then replacing the original once it is ready.
- Before making large changes, glance at the revisions screen so you know you can roll back.
- Write longer pieces in the editor rather than pasting from elsewhere at the last minute, so autosave can protect your work as you go.
- Keep regular off-site backups as well as revisions.
FAQs
Where are WordPress revisions stored?
Revisions are stored in your site's database as special entries linked to the original post. They are not visible to visitors and do not create separate pages on your site.
Do revisions slow down my website?
Revisions are not loaded when visitors view your pages, so they do not usually affect front-end speed directly. A very large number of stored revisions can make the database bigger, which is one reason some sites choose to limit them.
Can I recover a deleted post?
Posts moved to the Bin can be restored from there until the Bin is emptied. Once a post is permanently deleted, its revisions go with it, and you would need to restore from a backup.
Why does my page not have any revisions?
It may have only been saved once, revisions may be disabled on your site, or the content type may not support them. Your developer or hosting provider can check the configuration.
Does autosave publish my changes?
No. On a published post, autosave stores your changes separately and does not alter the live page until you choose to update.
Need help protecting your WordPress content?
Prism Works Studio builds and supports WordPress websites for UK businesses, including setting up sensible revision limits, backups and editing workflows. If you want more confidence that your content is safe, get in touch.