Skip to content

404

The 404 template renders page content that is shown to users if they enter an invalid URL.

Location

The 404 template is located in the templates directory of the theme:

└── theme
├── layout
├── templates
| ...
| ├── 404.liquid
| ...
...

Content

There are no suggested objects for a 404 template. However, the template should make it clear to the customer that the page they were looking for couldn’t be found.

You should provide obvious options for how to proceed. For example, you can add links to popular pages, a search bar to help customers find what they’re looking for, or a link that redirects customers to your home page or events calendar:

<h1 class="title">Page not found</h1>
<a href="/concerts-and-events/calendar" class="btn">
View Calendar
</a>