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

# 404

***

The **404 page** includes a simple layout that displays a 404 message "**Page not found**" and a button to redirect customers back to the home page.

You do not need to set up a 404 page - it shows by default - but you can choose to add custom theme sections and edit the default theme content.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/6be3617e-d191-4020-84e2-0b2fd2b58cb5/Screenshot%202023-12-18%20at%203.16.00%20PM.png" alt=""><figcaption></figcaption></figure>

### How to edit 404 page?

To keep customers shopping, you may want to add some custom theme sections, such as a featured collection or a collection list.

**STEPS**

* In your theme editor, use the **Templates selector** to open **Others > 404 page**.

<div><figure><img src="/files/BWSrdKejld9ACNYJB8tr" alt=""><figcaption></figcaption></figure> <figure><img src="/files/67NZZhp6PV5StCLOFEZk" alt=""><figcaption></figcaption></figure></div>

* Add and edit theme sections (link article: Sections) to customize the layout of your page.

<figure><img src="https://t9008110498.p.clickup-attachments.com/t9008110498/831933a0-30fc-4a27-89a0-c032aa7a4172/Screenshot%202023-12-18%20at%203.22.11%20PM.png" alt=""><figcaption></figcaption></figure>

* Click **Save**.


---

# 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, and the optional `goal` query parameter:

```
GET https://help.inspiredtheme.com/articles/pages/other-pages/404.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
