How to restore an earlier version of a page in WordPress

How to restore an earlier version of a page in WordPress.


If you’ve changed a page in WordPress and wish you hadn’t, you can usually get the old version back in a few clicks. WordPress keeps a copy of your page each time you save it, called a revision, and you can restore any of them. If you deleted the whole page, it’s normally sitting in the trash and can be restored from there.

Here’s how to do both in the WordPress block editor, the standard editor in current versions of WordPress.

What are WordPress revisions?

A revision is a saved copy of a page or post from an earlier point in time. WordPress creates one each time you save, so you can compare versions and go back to an earlier one. By default, WordPress keeps track of changes to the title, author, content and excerpt.

WordPress also keeps an autosave while you’re working. According to the WordPress documentation, there’s only ever one autosave per user for each page, and it doesn’t overwrite your published content. If your browser crashes or you lose your connection, WordPress shows a warning with a link to restore that backup when you open the page again.

It’s a common question on the WordPress.org support forums. Someone edits an older page, something goes wrong, they save it, and the original content seems to be gone. Usually, it’s still there in the revisions.

How do I restore an earlier version of a page?

Open the page, find Revisions in the Settings sidebar, click the number next to it, choose the version you want with the slider, then click Restore. These steps are for WordPress 7.0 and later, which has a new revisions screen.

  1. In your dashboard, go to Pages > All Pages (or Posts > All Posts) and click the page to open it in the editor.
  2. Open the Settings sidebar on the right. If you can’t see it, click the Settings icon at the top right of the screen, next to the Save or Update button.
  3. Select the Page tab (or the Post tab for a blog post).
  4. Find Revisions and click the number next to it. The revisions screen opens.
  5. Use the slider at the top to move through the saved versions, or select one from the Revision panel.
  6. When you’ve found the version you want, click Restore.
  7. Check the page looks right. If you’re happy, it’s done. If not, go back to Revisions and pick a different version.

If you don’t see Revisions at all, the page probably hasn’t been saved more than once yet, so there’s nothing earlier to go back to.

How do I see what changed between versions?

The revisions screen highlights what changed in each version, so you can find the right one quickly. Click the Show changes icon on the left of the slider to turn the highlights on or off. WordPress marks the changes by colour:

  • Added blocks are solid green.
  • Removed blocks have red diagonal stripes.
  • Modified blocks have yellow diagonal stripes.

Click a marker to jump to that part of the page. This is particularly useful on long pages, where a missing paragraph or image is easy to overlook.

What if my site runs an older version of WordPress?

On WordPress 6.9 and earlier, the revisions screen looks different, but it works the same way. You reach it through the same Revisions link in the Settings sidebar. The older screen shows two versions side by side, with Next and Previous buttons to move between them and a mode to compare any two revisions.

If your site is built with a page builder such as Elementor or Divi, the builder may keep its own history of changes, and the steps can look different. The WordPress revisions are often still available in the standard editor, so it’s worth checking both.

How do I restore a page I deleted?

When you delete a page in WordPress, it goes to the trash first, where it stays for 30 days by default. You can restore it from there:

  1. Go to Pages > All Pages.
  2. Click the Trash link near the top of the list. It only appears when something is in the trash.
  3. Hover over the page you want back and click Restore.
  4. Go back to All Pages, open the page and check its status in the Settings sidebar. If it isn’t published, click Publish or Update to put it back live.

Avoid Delete Permanently and Empty Trash unless you’re sure. Once a page is permanently deleted, revisions can’t bring it back, and the only way to recover it is from a backup of the site.

What are the common mistakes to avoid?

Most lost-content problems can be fixed, and a few habits make them less likely:

  • Panicking and saving repeatedly. Each save adds a revision, which is fine, but it makes the right version harder to find. Stop, then go to Revisions.
  • Restoring without checking. Look through the version before you click Restore, using the change highlights.
  • Assuming revisions cover everything. Revisions track the title, author, content and excerpt. Things like menus, widgets and theme settings aren’t saved this way.
  • Relying on revisions instead of backups. Revisions are a quick undo for page content. They won’t help if the site itself breaks, so make sure the whole site is backed up regularly.
  • Emptying the trash out of habit. Leaving deleted pages in the trash gives you 30 days to change your mind.

What this means for your website

You can fix most editing mistakes yourself in under a minute. Before you need it:

  1. Open one of your pages and find Revisions in the Settings sidebar, so you know where it is.
  2. Check with your developer or host that your site is backed up, and how often. Our article on why WordPress maintenance matters explains what a good maintenance routine covers.
  3. If more than one person edits the site, make sure everyone knows that changes can be undone, so nobody is afraid to update content.
  4. When you make a big change to an important page, consider working on a copy of the page first.

If you’re new to editing your own site, our beginner’s guide to WordPress SEO with Yoast is a good next read.

Frequently asked questions

Need help with your WordPress website?

If you get stuck, or you’d like a short training session on editing your own pages, we’re happy to help. We also offer ongoing maintenance and support for WordPress websites, so you can get in touch any time.