Hot answers tagged aspx
You can choose any of the 3 options from below. Option 1: Replace the default PageNotFoundError.aspx in the Page Library – One of the easiest and Convenient way to replace default text in PageNotFoundError.aspx is to either edit the PageNotFoundError.aspx that resides in the Page Library or to delete it and replace it with a Custom error Page that has the ...
Xavi's link should answer your question. Also here is PowerShell to set your page not found URL: $spsite = Get-SPSite "Web site URL" $spsite.filenotfoundurl $spsite.filenotfoundurl = "/sites/yoursite/Pages/PageNotFoundError.aspx"
Only top voted, non community-wiki answers of a minimum length are eligible