Recently had to reghost all pages to its initial state as it is declared in site definition.
Previously in SharePoint 2010 PowerShell had to be used to do that job. In SharePoint 2013 new page wes added to reghost all pages to its initial state. To do that go to:
this will reghost all pages on you site or one single page. Just change URL to your site URL.
Hope this helps,