Custom Error Pages

Last updated on April 06, 2026.

Instead of showing generic error pages, you can create custom error pages that match your site's design. Custom error pages give visitors helpful content, relevant links, and a reason to keep exploring rather than leaving.

Insites automatically handles the following HTTP error codes:

Error Code Description
403Forbidden - the user does not have permission
404Not Found - the page does not exist
500Internal Server Error
503Service Unavailable

Creating a Custom Error Page

To customize an error page, create a page with the corresponding slug. For example, to customize the 404 page:

app/views/pages/404.html.liquid

Go to homepage'>

Custom error pages use layouts just like regular pages. If you want the error page to match your site's header and footer, make sure it uses the appropriate layout.

Note

You can customize existing system pages and create your own with custom slugs. Error pages support the same features as regular pages, including Liquid, GraphQL, and partials.

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.