1

Is there a way to create a generic 404 page for an entire tenant ? Such that when a user hits anything that doesn't exist under https://.sharepoint.com/ it will throw this error page. On-prem you could have HTTP listeners and in SharePoint online I know you can do it at the Page Library level. How is this achieved at the Site Collection and Tenant levels?

1 Answer 1

2

Please check that you have "Pages" library on your SharePoint site web. If not:

  • Go to Site Settings -> Site Collection Administration -> Site
    collection features -> active SharePoint Server Publishing
    Infrastructure

  • Go to Site Settings -> Site Action -> Manage Site features -> activate SharePoint Server Publishing

In this library you should have "PageNotFoundError.aspx". If this page does not exist, create this page.

  • New document -> Error Page

enter image description here

Please check 'vti_filenotfoundpage' parameter in 'Site Options'.

  • Open your site in SharePoint Designer 2013

  • Select the Site Object in the left tree-panel. Click 'Site Options' in the ribbon.

  • Check 'vti_filenotfoundpage' parameter. If it does not exist, add this parameter.

enter image description here

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.