Independent, hands-on guides to hosting, SEO and marketing tools. No paid rankings, ever.See how we test →

WordPress Revisions: How to View, Restore and Limit Them

Learn how to view, restore and limit WordPress revisions safely, without losing the content safety net your site needs.

Serp & Server is reader-supported. When you buy through links on our site, we may earn an affiliate commission, at no extra cost to you. It never decides our rankings. Here’s how it works.

wordpress revisions shown as layered page versions on a desk
Jump to a section

wordpress revisions are WordPress’s built-in safety net for posts and pages, letting you compare older versions and restore content after a mistake.

If you run a small business site, WordPress revisions can save you from accidental deletions, overwritten copy, or client edits that need rolling back. The trick is knowing where the wordpress revision history lives, what it does not cover, and when to keep it under control.

This guide explains how to view, restore, and limit them safely on a self-hosted WordPress site.

What WordPress revisions save

WordPress revisions save earlier versions of supported content types, most commonly posts and pages. According to the official WordPress support manual, the revisions system stores a record of each saved draft or published update, so you can review changes and revert if needed.

WordPress revisions are not the same as a full website backup. They help with content changes inside the editor, but they do not replace database backups, file backups, theme backups, or plugin rollback tools.

Think of revisions as content undo history. If you delete a paragraph from a service page, rewrite a product description, or make a messy edit before lunch, they can help you recover the earlier wording.

What usually gets stored

  • Post or page title changes.
  • Main editor content, including blocks in the block editor.
  • Excerpts where the post type supports them.
  • Some revision-aware metadata, depending on your theme, plugins, and WordPress setup.

For technical users, WordPress also exposes post revisions through the REST API at endpoints such as /wp/v2/posts/<parent>/revisions, documented in the official Post Revisions REST API handbook.

How to view WordPress revisions

Open the post or page you want to check in the WordPress editor. In the block editor, look in the settings sidebar for a Revisions label or number, then click it to open the comparison screen.

wordpress revisions comparison shown with version cards in a filing drawer
Revisions let you compare older versions before restoring content.

Finding the wordpress revision history

The wordpress revision history normally appears only after at least one saved change exists. If a page has never been updated after its first save, there may be nothing to browse yet.

In the classic editor, revisions may appear in a Revisions box on the edit screen. If you cannot see WordPress revisions there, check Screen Options at the top of the editor and make sure the Revisions panel is enabled.

On some heavily customised sites, page builders or custom post types may hide the standard interface. If that happens, ask your developer or host whether the post type supports revisions and whether any plugin has disabled them.

How to compare and restore WordPress revisions

The revision screen shows older versions of your content and highlights what changed. Added text is usually shown separately from removed text, which makes it easier to spot small edits in a long article.

Use the slider, Previous and Next buttons, or revision list to move through saved versions. When you find the version you want, use the restore button to make that version current.

Restoring WordPress revisions is safe in the sense that WordPress creates another saved state rather than secretly deleting every trace of the current version. Even so, copy any important new content before restoring an older version, especially if several people have edited the same page.

A simple restore workflow

  1. Open the affected post or page.
  2. Click the revisions link in the editor sidebar or revisions panel.
  3. Use the comparison view to find the correct version.
  4. Check the date, time, and author if shown.
  5. Click restore, then review the live editor before updating the page.

If you are improving older content, it can help to compare your site with strong examples before rewriting. Our guide to real WordPress website examples shows how different businesses structure useful pages.

How to limit WordPress revisions

By default, WordPress can keep an unlimited number of revisions unless your configuration changes that behaviour. The official developer reference for wp_revisions_to_keep() says the WP_POST_REVISIONS constant can specify how many revisions to retain.

To limit WordPress revisions, edit the wp-config.php file in your site’s root folder. Always take a backup first, because a small typo in this file can take your site offline.

define( 'WP_POST_REVISIONS', 5 );

Place the line above the comment that says to stop editing, and choose a number that suits your publishing workflow. The official wp-config.php documentation gives examples for disabling revisions or setting a maximum number.

SettingWhat it doesBest for
define( 'WP_POST_REVISIONS', true );Keeps revisions enabled, with no fixed maximum.Editorial sites where history matters more than database size.
define( 'WP_POST_REVISIONS', 5 );Limit WordPress revisions to five per post or page.Most small-business sites and brochure sites.
define( 'WP_POST_REVISIONS', false );Stops saving new post revisions.Rare cases where storage is extremely limited and backups are excellent.

For most businesses, keeping three to ten revisions per page is a sensible compromise. Disabling them entirely removes a useful safety net, so do that only if you fully understand the trade-off.

Cleaning up old revisions without breaking your site

Changing WP_POST_REVISIONS controls future saving, but it does not necessarily tidy every old database record straight away. If your site has years of revisions, you may want to clean existing ones after taking a full backup.

Limiting WordPress revisions is usually enough for smaller sites. Cleanup becomes more useful when you have thousands of posts, many editors, or a database that has grown because of long-running content work.

The safest route for non-technical owners is to ask your host or developer to run the cleanup on staging first. If you are choosing a host or reviewing performance support, our WordPress hosting guides explain the basics in plain English.

WP-CLI option for developers

Developers often use WP-CLI, the command-line tool for WordPress, for bulk tasks. Its official documentation covers commands such as wp post list and wp post delete.

wp post delete $(wp post list --post_type='revision' --format=ids) --force

Do not run that command blindly on a live site. Test it on staging, confirm backups work, and remember that deleting revision records removes the ability to roll back to those versions.

Troubleshooting WordPress revisions that are missing

If WordPress revisions are missing, start with the simple checks. Confirm you are editing a post or page that has actually been changed and saved more than once.

Next, check wp-config.php for WP_POST_REVISIONS. If it is set to false or 0, your site may not be saving new revisions.

Also consider the content type. Standard posts and pages usually support revisions, but some custom post types may not unless the developer enabled revision support.

Common reasons they do not show

  • No saved changes exist yet.
  • The revisions panel is hidden in the editor interface.
  • A page builder replaces or hides the normal WordPress controls.
  • A plugin or custom code disables revision support.
  • The site is hosted on a managed platform with its own editing rules.

If the problem appeared after changing plugins, switch back carefully on a staging copy rather than experimenting on the live site. For other technical housekeeping, our guide to editing WordPress robots.txt is another useful maintenance read.

A sensible WordPress revisions policy

WordPress revisions work best when they are part of a simple content process. Decide who can edit key pages, how many changes need review, and how often your site is backed up.

For a small-business website, keep revisions on, set a reasonable limit, and make sure backups run independently. That gives you quick editor-level recovery plus a deeper restore option if something bigger goes wrong.

If several people edit the same page, agree on basic habits. Add notes outside WordPress for major rewrites, avoid editing the same page at the same time, and check the restored version before pressing Update.

WordPress Revisions FAQs

Do WordPress revisions slow down my website?

WordPress revisions rarely slow down a small, well-hosted site by themselves. They can add database clutter on older or very busy sites, so setting a sensible limit and keeping proper backups is a good maintenance habit.

How many WordPress revisions should I keep?

For most small-business sites, three to ten saved versions per post or page is enough. Editorial sites with many writers may prefer more, especially where legal review or content approvals matter.

Can I limit WordPress revisions without a plugin?

Yes. You can add the WP_POST_REVISIONS constant to wp-config.php and set it to a number such as 5. Take a backup first, because wp-config.php is a sensitive WordPress file.

Does the wordpress revision history include images and media files?

The wordpress revision history mainly helps with editor content, titles, excerpts, and supported revision data. It is not a media backup system, so deleted uploads may need restoring from your hosting backup or media library backup.

What happens if I disable revisions completely?

WordPress stops saving new revision records, so you lose the easy editor rollback option for future changes. Existing old revisions may still remain until cleaned up separately, depending on how your site is managed.

Final word

Handled well, WordPress revisions are one of the simplest ways to protect your content from everyday editing mistakes. They are easy to use, built into WordPress, and helpful for both solo site owners and small teams.

Keep them enabled, set a sensible limit, and treat them as a content safety net rather than a full backup system. That gives you the best balance between convenience, control, and a tidy database.

Enjoyed this guide?

Get the newsletter

Get more guides like this one on the topics you choose. Confirm your email and you are done.

  • Pick only the topics you care about
  • About one email a week, no spam
  • Change topics or unsubscribe any time
Newsletter signup


Serp & Server Avatar

Written by

Keep reading