For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error Pages

Customize 404, 500, and other HTTP error pages for your website using the Error Pages editor in hPanel on Hostinger or ErrorDocument rules in .htaccess.

Customize the pages visitors see on errors like 404 and 500.

Common HTTP error codes

Code
Error
When it happens

400

Bad Request

Server couldn't understand the request

401

Unauthorized

Authentication required

403

Forbidden

Access denied

404

Not Found

Page or file doesn't exist

500

Internal Server Error

Server-side error

The one you'll actually want to customize is 404.

Customize in hPanel

  1. Open your website dashboard.

  2. Go to WebsiteError Pages in the sidebar.

  3. Select the error code (e.g., 404) to open its editor.

  4. Edit the HTML.

  5. Click Save.

Customize via .htaccess

In public_html/.htaccess:

Create the corresponding HTML files in public_html.

Example 404 page

/public_html/404.html:

In .htaccess:

Tips for a good 404 page

  • Include site navigation or a search bar.

  • Link back to the homepage.

  • Keep it friendly.

  • Optionally surface popular or recent content.


Last updated: July 22, 2026

Last updated

Was this helpful?