Knowledgebase: All about cPanel
Error pages
Posted by Roy Petersen on Feb-15-2007 12:16 PM

Error Pages button Error pages are displayed to Internet users when any one of a variety of errors occur, such as when a user enters an incorrect URL or is not authorized to access a specific directory in your web site. Companies often customize error pages to brand them with a specific corporate image and a link to their home page. You do not have to customize these pages - the error page is always available, whether customized or not.

Note: Custom error pages that are smaller than 10k in size will not display properly in Internet Explorer. Insert a large amount of text into a comment to create the required size (< !-- comments here -- > space added before and after <> for display purposes).

To create or modify a customized error page:

  1. Click on the Error pages button on the home page.

  2. Click on the button of the required error page, such as the 403 button.

  3. Enter the HTML code for the error page. You can use the buttons at the top of the page to insert variables into the displayed code.

    Example:

    <h1>404 Not Found</h1>
    <p>The requested page, <!--#echo var="REQUEST_URL" --> ,is not available.</p>
  4. Click on the Save button.

Creating a customized error page