Creating custom error pages
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 or page 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 but it can be fun- 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.
Actually error page can be fun, be creative, put images and funny lines in your error pages.
To create or modify a customized error page:
- Click on the Error pages button on your Cpanel home page.
- Click on the button of the required error page, such as the 403 button.
- 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.
- Click on the save button
Example:
<h1>404 Not Found</h1> <p>The requested page, <!--#echo var="REQUEST_URL" --> ,is not available.</p>
