Skip to main content

How to compare and restore SharePoint Pages

As users edit the SharePoint pages, add and delete content and web parts, it is also necessary to restore the previous versions of the pages. We had this functionality for a long time. As a matter of fact, I even wrote a post about it. However, Microsoft has recently upgraded the experience. So I would like to explain a modern option now and show you how you can easily compare and restore SharePoint Pages without going behind the scenes as with the old method.

Undo vs. Restore

To remind you first, I am not talking about the Undo button while you edit the page – that is easily taken care of by clicking the Undo button.

I am talking about restoring a page that was already published. Something that will allow you to restore a page from a week or month ago.

How to restore SharePoint Pages

  1. Click on Page Details on the top of the Page, then Version History on the right-hand-side panel
  2. It will then display all the versions of the page in the reverse chronological ordercompare and restore SharePoint Pages
  3. You can click on any previous version of the page to see what it looked like then. It also mentions the changes made during that specific version.compare and restore SharePoint Pages
  4. You can also toggle the Highlight changes on the page switch to highlight the changes made on the page for visual representation!compare and restore SharePoint Pages
  5. To restore a specific version of the page, click 3 dots next to the version, then Restorecompare and restore SharePoint Pages
  6. What happens next is very important! It does restore the previous version of the page, but it DOES NOT publish it. You will notice that it gest a minor version, and the page is set to Draft. That means that the page is restored but not Published! It does it on purpose as it wants to make sure you are OK with the changes before everyone else gets to see them.
  7. To Publish the page, click “X” to exit from the Version History panelcompare and restore SharePoint Pages
  8. Review the page’s changes to make sure it is all good and hit Republish to make them official!

How many versions are saved?

You might be wondering how many versions of each page are saved. The Site Pages Library (this is where the pages are stored), just like a Document Library, stores the last 500 versions of each page. If you are the Site Owner, you can increase it to 50,000 if you wish. To do this:

  1. Gear Icon > Site Contents
  2. Click 3 dots next to the Site Pages Library, then Settings
  3. Next, click Versioning Settings
  4. Change the number of versions to any other number between 1 and 50,000. Click OKcompare and restore SharePoint Pages

You may also like

How to capture the Version History of a Document Set

October 21st, 2021

You may also like

2 ways to control page editing on a SharePoint site

October 14th, 2021

You may also like

4 ways to remove news posts from the SharePoint page

October 7th, 2021

Need SharePoint Help?

Hourly consulting, training and configuration services are available

Learn More