> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/templates/404.md).

# 404

<figure><img src="/files/3HMxmW4bhZqhR3aI52Jo" alt=""><figcaption><p>404 page on the Primavera demo store</p></figcaption></figure>

{% hint style="info" %}
Ideally, customers only reach your 404 page as a last resort, so be sure to implement URL [redirects](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect) to make sure that key links are redirected to new pages when that content is no longer available.
{% endhint %}

### Settings

* **Continue shopping link**: Override the "Continue shopping" button URL which goes to <kbd>collections/all</kbd> by default

The Search button links to the search page in order to help the customer find what they were looking for.

If you need to override the page text or first button link, you can do so in the theme [translations](/faqs/how-do-i-edit-the-default-theme-content.md).

{% hint style="info" %}
Can't find the setting you're looking for?  The following settings are explained in detail in common settings:

* Horizontal alignemnt
* Color scheme
* Padding
* Borders
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ultramarinastudios.com/templates/404.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
