Manage Error Pages
When you create a Force.com site, there are several error pages assigned by default that you can override in OrchestraCMS with a branded page:
- Page Not Found (404 error). The page users see when trying to access a page that can’t be found.
- Authorization Required (401 error). The page users see when trying to access pages for which they do not have authorization to view. This is displayed under several conditions: if a user is not signed in to a site when a page requires authentication; the site’s public access settings do not provide the required permissions to view the page; the user’s profile does not provide the required permissions to view the page; or other exceptions.
- Generic Error. The page users see when encountering generic exceptions.
- Limit Exceeded (509 error). The page users see when your site has exceeded its bandwidth limits.
- Service Not Available. This is a custom page users see when Salesforce servers are unavailable, rendered from a static resource that you choose. It is not available for Developer Edition or sandbox organizations. If you haven’t set the “Service Not Available” error page, the ErrorMaintenance page is shown by default.
An administrator can override these error pages in OrchestraCMS Setup.
Override default error pages with custom error pages
- In OrchestraCMS Setup, under Utilities, click Error Pages.
- Beside each error page, click Create and follow the instructions in the Create New Page dialog.
- Once each page has been created, you can locate it on the Pages section under Unmapped Pages. From here, you can open it in the page editor and add the required content.
- Save and publish each page as they are completed.