Custom Storefront Error Pages
You can create branded custom error pages (technically referred to as a 404 error page)
within the storefront. Use custom error pages to provide a helpful message to your customers,
with information about what to do next, instead of a generic message like 404 URL not
found
.
Select
.- Internal Server Error (majorerror.html)
- URL not found (url_error.html)
- Timeout (overload.html)
Uploading
The B2C Commerce Web Server error pages are uploaded to a shared directory. To view this directory, select
.Within Business Manager, you can download a template .zip file containing all error pages that are used in cases where the application server is down or doesn't respond in time. After you download the .zip file, you can customize the content, archive your work, and upload it.
Upload the pages as one .zip file that includes the following:
- One html file per error code
- CSS files and images as necessary
myCustomErrorPages.zip
./waroot/FILENAME
.
After your upload, the .zip file is automatically extracted and the content is stored on the web server.
Testing
Test customized errors by:
- 404 error: entering an invalid URL.
- Transmission error: Call support and request that they take down the application server for the instance. Only do this on Sandboxes.