# How to create custom '404' page?

This page explains configuring custom '404' page, also called as 'page not found'

{% hint style="warning" %}
This feature is available for "Enterprise plan" only.
{% endhint %}

#### Steps to follow:

1. Goto 'DetailedPages' sheet in the Google sheet connected to your site
2. Create a new row and add Column A as "./404" without quotes.
3. Add Column D with the required html you want to configure for your 404 page. (See sample as below)

```
<div style="display: flex; justify-content: center;">
   <img src="https://static.vecteezy.com/system/resources/previews/000/362/681/non_2x/vector-website-error-404-page-not-found.jpg" />        
</div>

<div style="display: flex; justify-content: center;">
    <a href="./"><h2>Go to home</h2></a>
</div>
```

&#x20;4\. Select/Add Column F as "Image top & Text bottom"

The setup should look something like below.

![](/files/-MZiPpYlqnSLSue7lI1Z)

{% hint style="info" %}
Use 'live test' to pull latest changes and test your changes.
{% endhint %}

Now, for all pages that doesn't exist in your site, the site automatically shows the page you configured from the above steps.

![](/files/-MZiQGKBI89AeEHme6xe)


---

# Agent Instructions: 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://help.siteoly.com/advanced/how-to-create-custom-404-page.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.
