(HELM) Creating Custom Error Pages

What are Custom Error Pages?

Custom error pages are pages shown to your website visitors which match your website theme when an error has occured within your website. The error can be caused by different things, the most common is the 404 – File Not Found error.

How Do I Create a Custom Error Page?

  1. Start by taking a copy of your website template and saving it with the appropriate name for the error you are creating it for. Consult the web hosting documentation as to the naming convention you should use.
  2. Include in the body (content) area:
    • a precise description of what has happened, written in plain english, not a techical explaination.
    • a search box if you have website search enabled on the website.
    • a link to the website sitemap. (the traditional type, not to be confused with the sitemaps for Google or Yahoo)
    • a list of possibly related links.
    • a contact form (or link to) so the visitor can notify you of the error.
  3. Make the links to the images and styles for the page absolute as you may not know in advance what the relationship between your error page location and the page requested will be.
  4. Add the necessary server side instructions to implement your custom error pages.
    1. View our Video Tutorial on setting the URL or File for your custom error pages.


What are Error Pages?

Error pages are web pages shown to the website visitor when something has gone wrong with the web page they have requested. They will also been shown when there is a server error.

Common errors you may encounter:

  • 403 Forbidden - You have requested to view a web page or directory to which you are not allowed.

    The webmaster may have put security in place so that certain web pages are not available to the general public (you have to be logged in to view) or that certain directories on the web server are not available for viewing.

  • 404 Not Found - The web page you requested cannot be found on the web server.

    This is caused by:

    • A link to a non existing page was clicked.
    • A page has been moved or renamed and the web designer did not put a permanant 301 redirect in place.
    • Someone found an old listing in a search engine or directory results and clicked it.
    • The user made a typing error when manually typing the url of a web page.
  • 500 Internal Error - There’s something wrong on the web server and it cannot process your request or update.