Skip to content

How do I make a custom error page? Print

  • error page, 404, htaccess
  • 6

Replace the plain "Not Found" page with your own, so lost visitors stay on your site.

  1. Create your page, for example 404.html, and upload it to httpdocs.
  2. In the File Manager, open httpdocs/.htaccess and add:
    ErrorDocument 404 /404.html
  3. Save, then visit a page that does not exist to test it.

You can do the same for other errors, such as ErrorDocument 403 /403.html.

WordPress and most other systems have their own 404 page, set in the theme. You only need this for hand-built websites.

Was this answer helpful?

« Back