Custom 404 Page Not Found
Custom 404 Page Not Found
Warning: This page applies to the legacy UltraCart Catalog, which was replaced by UltraCart StoreFronts in May 2015. This content is kept only for long-time merchants still running a legacy catalog.
For current storefront and catalog management, see:
StoreFronts User Guide (start here)
StoreFronts Overview (how StoreFronts works, key concepts)
StoreFront Themes & Visual Builder (theme selection, Visual Builder basics)
Storefront File Manager (hosting files in UltraCart)
Creating and Managing Pages (add pages, navigation, layouts)
Menus and Navigation (primary menus, category menus, links)
Widgets and Content Blocks (common widgets, configuration patterns)
Domains, SSL, and StoreFront Publishing (DNS, go-live checklist, environment/publishing flow)
If you’re new to StoreFronts, start with the StoreFronts Overview, then move into Themes & Visual Builder, and finally Pages + Menus as you build out your site structure.
Introduction
This brief tutorial will explain how to create a page that will be rendered to the client whenever a 404 (page not found) is generated. This will give the end user a friendly looking page, but still return an HTTP status code of 404.
Whenever a page is not found on the catalog, the system will look for an arbitrary page at the location of:
/404.html
The earliest way to accomplish this is to create an arbitrary page that URI under.
Below is an example of the arbitrary page.
Make sure that if you receive any style sheets or graphics from this page that you DO NOT use relative URLs. Because the page can be rendered at any URL on the site that is requested, relative URLs would confuse the browser and lead to broken images