Back to Support Content and Media Restore a Revision of a Page or Post

Restore a Revision of a Page or Post

The WordPress editor autosaves your work and stores a revision history for each page and post on your site. This guide will show you how to restore an earlier version of a page or post.

How to Save

While writing and editing, your changes are automatically saved to your local device every 15 seconds and online about once per minute. At the top-right of the editing screen, you’ll see the notification move from “Save Draft” to “Autosaving” to “Saved“:

The Page/Post Editor toolbar showing the "Autosaving" message for a draft.

If you have not yet published the page or post, you can save it manually by clicking on the “Save Draft” link at the top of the page:

The Page/Post Editor toolbar showing the "Save draft" link for a draft.

If you are editing a post or page that has already been published, autosave continues to work but will not overwrite the published content. The changes will not be displayed on the site until you click the “Save” button at the top of the screen:

The Page/Post Editor toolbar showing the "save" option to update the published page.

If you go offline while editing or accidentally navigate away from a post/page while working on it, WordPress.com will save your post to your web browser’s local storage. When you return to the editor, you will see a note that says “There is an autosave of this post that is more recent than the version below.

A message at the top of the WordPress Editor that reads "There is an autosave of this post that is more recent than the version below." with a link to "View the autosave"

Click the X icon to return to the draft as-is, or click “View the autosave” to restore the most recent autosave. You can also browse the revisions to restore an earlier version of your content.

A revision is not stored for every autosave; it is just the last one the system captured. A revision is stored when you save manually or click the “Save” or “Publish” button.

View Revisions

When you save a draft manually or click the “Save” button, a revision is created. Revisions allow you to view the recent changes and revert to an earlier version if necessary.

To view the saved revisions of a page or post:

  1. Visit your dashboard.
  2. Click on Pages on Posts (or navigate to Editor → Templates for template revisions).
  3. Click on the content you wish to edit.
  4. Open the settings sidebar.

If you do not have the sidebar on the right, click the Settings icon in the top right corner to bring up the settings. This icon looks like a square with two uneven columns:

The settings icon in the top right corner
  1. Click the number next to the Revisions label.
An arrow pointing to the number of revisions of a page on the Page Settings sidebar.

Depending on your user role, the following revisions can be accessed:

The next section will cover how to compare and restore your content revisions.

Compare Revisions

When viewing the revisions for a page or post, the following information will help you identify the correct revision to restore:

In the Default View, the content is shown on the left side of the revisions screen. Newly added content is highlighted, while content deleted in that revision has a line crossed through it:

The Revisions screen displaying a view of a revision.

On the right is a list of each saved revision for the page or post you’re viewing. The revisions list shows the following information:

  • The date and time the revision was saved.
  • The name of the user who made the changes.
  • The number of changes made. A green plus sign indicates content that’s been added, while a red minus sign indicates content that’s been deleted. For example, “+11 -2” indicates 11 instances of added content and 2 instances of deleted content. 

You can select two different views when browsing revisions:

  • Unified: Click the “Unified” button to view the changes made on the selected revision only.
  • Split: Click the “Split” button to view the revision compared with the revision immediately previous to it:
The Revisions screen displaying a split view comparing two revisions.
Split View

Restore a Revision

Once you have identified your revision, you can use the following steps to restore it.

  1. Visit your dashboard.
  2. Navigate to Pages or Posts.
  3. Click on the page or post you wish to edit.
  4. Open the settings sidebar.
  5. Click the number next to the Revisions label.
  6. Select a revision you want to restore and click the “Load” button.

The revision will load in the page/post editor. You can make additional changes or click the “Save” button to publish the revised version of the page/post.

The Load button is highlighted on the Revisions panel.
Load a revision

If you find the revision difficult to read (since it displays in HTML code instead of the rendered content), you can click the “Load” button to load the revision in the editor. Then, you can review the content in the editor and decide if it’s the correct version. If not, return to the revisions and choose a different version.

Restore Part of a Revision

If you want to restore a specific part of a revision without replacing the entire content, you can copy just the content you wish to restore. Follow these steps:

  1. View the revisions as described above.
  2. Highlight the part of the revision you want to recover.
  3. Right-click and select Copy or use cmd+c on Mac or ctrl+c on PC.
  4. Click Cancel to close the Revisions window without loading the entire revision.
  5. Insert a Custom HTML block in the position you want to add the copied content.
  6. Right-click and select Paste or use cmd+v on Mac or ctrl+v on PC to paste the part of the revision into the Custom HTML block.
  7. Click the ellipses (three dots) in the Custom HTML block toolbar and select Convert to blocks.

Other Tips to Recover Lost Content

If you ever lose content for a post or page you were working on and you cannot locate the content in the revisions, check these other common reasons why content can be lost:

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!