Does anyone know where the content lives for the PageNotFound page?

I see in the "ErrorLayout" there is a class="error-content" section. I would like to edit the content for this section.


Assuming a publishing site.

In the Pages library of the rootsite there is a page called "PageNotFoundError.aspx". Just like a regular page. Edit this page to change the content of the PageNotFound page.

Even more simpler: Trigger a PageNotFound error and hit "Edit Page" in the SiteActions menu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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