SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I resore ghosting of a page back if I accidentally unghosted it?

Will its deleting and recreating restore ghosting and remove copy of changed page from database?

Searched for quite a time om the internet and in SPD 2010 for "Reset to Site Definition" option.

It is not in the editing (or editor) of a page ASPX (what could have been expected where I've done changes) but on ribbon of settings page of a view page in SPD (Sharepoint Designer) 2010, under Page tab, immediately upon entering by clicking the entry in the list of "Site Pages".

share|improve this question
up vote 3 down vote accepted

Assuming you're using SharePoint Designer, just right-click on the file and click "Reset to Site Definition" this will remove the ghosting (now called "Customizing" in 2010), remove that artifact from the content DB, and revert back to the file system version.

share|improve this answer

If you are dealing with the Publishing Site, you would need to take a different road, simpler (in my perspective) - you need to re-attach the Page to the Page Layout and the customization will be discarded.

To reset simple Web Part pages you follow this guide or via Powershell here

share|improve this answer
Thanks, I wanted to ask another subquestion - whether deleting and (re)creating a page anew would delete the old one from content database (for files that are usually being ghosted) – Gennady Vanin Геннадий Ванин May 28 '12 at 2:23
Is always making a copy of the old one renaming it, so no. – Marius Constantinescu - MVP May 28 '12 at 16:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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