How can I restore a previous version of the mysite pages?

At some point during customisation, we made some major changes to the pages (particularly default.aspx) that we want to revert but I can't find the pages in either SPD or via all site content to revert them.

4 Answers 4



Go to Site page Location -> Click on PAGE ribbon -> Select VERSIONS option -> you will get ALL VERSIONS of the PAGE -> Then Click on MODIFIED LINK (Which version you want to RESTORE) and RESTORE Version.


There is one way you can achieve this. You can View/Restore a particular webpage which either in Pages Library/SitePages as follows:


  • ListId : ID of pages library or Site pages
  • ItemId : ID of particular page

Once you get the versions, you can select a particular version and restore it.

Assumption: You might have enabled versioning settings for the Page Library.

  • Any idea how I can get the ID of the page, given that it doesn't appear in site pages for the my sites?
    – Ben
    Commented Nov 5, 2012 at 13:46
  • To view the ID of the particular page, modify the view (/SitePages/Forms/AllPages.aspx) and set the 'ID' checkbox.
    – Joyal4
    Commented Nov 6, 2012 at 20:28
  • But the My Site pages don't appear in all site pages - otherwise I wouldn't have this problem!
    – Ben
    Commented Nov 7, 2012 at 10:57

You can restore a particular page by doing this:


The way to get the ListId is to call _spPageContextInfo

I would just go to the page, open console, and run _spPageContextInfo

You would see ListId, ListItemId, etc


you can also restore a backup of the SharePoint database taken the day before you have made the changes, connect it to your SharePoint test/dev environment and then retrieve the needed page.


  • Database restore wouldn't be an available option in SharePoint Online. While it is possible to request a restore from support, that would revert the entire site collection.
    – Zach
    Commented Aug 26, 2016 at 20:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.