- 31 Mar 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Error Pages
- Updated on 31 Mar 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
There are two error pages on every site.
404 Errors
The first is a part of the normal content called 404 Error. This page is used when someone attempts to link to a page that doesn't exist on your site. For instance, if there is an old link or marketing url that used to exist on your site but is no longer active. By default, this page will use the 'Main' layout - it is generally a good idea to put a site map on that page so visitors can re-orientate themselves.
System Errors: error.htm
The second error page is in the root of your project files and is called error.htm.
Occasionally, your visitors might get a hard system error, so you will want to upload an error.htm file to the root of your site. There is a sample one on your site already. This file does not process any code; it is a basic html file where everything is hardcoded to prevent an error loop, which would crash the server. Server errors can happen if a layout calls a pod location or content block that doesn't exist or if there are errors in the site setup like shipping rates not existing.