Create a custom 404 or other error page
Choose the domain and error code before editing the response page.
Where Tools → Advanced → Error Pages
Before you start
- Keep a copy of the current error-page content.
- If WordPress or another application handles the error, its own template may take precedence over this server-level page.
Steps
-
1
Open Error Pages. Under Step 1, select the domain whose pages you want to change.
-
2
Check the editor heading and domain. Enter suitable HTML/text for that error, with a helpful explanation and a link back to a working page.
-
3
Under Step 2, choose the error code, such as 404 (Not found). Use Show All HTTP Error Status Codes if the code is not in the common list.
Select the domain first, then the error code. -
4
The optional Select Tags to Insert links add server-provided details. Use only what is helpful; avoid unnecessarily displaying visitor or internal information.
The 404 editor is a separate screen; scroll to its Save button. -
5
Scroll to Save to write the page. Go Back leaves the editor. Test a safe nonexistent URL for a 404; do not deliberately break the website just to generate a server error.
Save sits underneath the editor. No content was saved during capture.
Check it worked
- The intended error response is useful and links back to a working page.
- If the old page remains, check application routing, caching and provider configuration. A custom design should not turn every missing page into a successful response.