How do I customize my web site's Error Pages?

Advanced: Error Pages

The following information assumes you are logged into cpanel.
To do this, either log into the client area here
https://www.smartartist.com.au/clients/whmcs/clientarea.php and click on the "log into cpanel" button for the particular domain.
or access cpanel directly using the URL http://you-domain-name-here/cpanel/
Your cpanel username and password is provided in your welcome email.

A VIDEO TUTORIAL FOR THIS PROCEDURE IS AVAILABLE BY CLICKING HERE

 

Overview

With this tool you can create custom error pages to display when a user enters a wrong URL, an outdated URL or when the user is not authorized to access a specific directory of your web space.

Error Pages consists of the following five types of errors:

  • 400 (Bad Request)
  • 401 (Authorization required)
  • 403 (Forbidden)
  • 404 (Wrong page)
  • 500 (Internal server error)

To customize the error page, you can click on the error page number (400, 401, 403, 404, 500) or the error page name (Bad Request, Authorization required, etc).

When the page loads, you have the following six tags available:

Available Tags

  • Referring URL - Displays the url of the web site the visitor was previously viewing.
  • Visitor's IP Address - Displays the IP address of the visitor viewing the error page.
  • Requested URL - Displays the intended url the visitor is trying to view.
  • Server name - Displays the web site's server name.
  • Visitor's browser - Displays the visitor's browser type such as IE, FireFox, Netscape, etc.
  • Redirect Status Code - This displays the type of code in the 300-307 range. To learn more about Redirection Status Code, visit the WikiPedia web page at http://en.wikipedia.org/wiki/List_of_HTTP_status_codes.

Was this answer helpful?

 Print this Article

Also Read

How do I create custom MIME Types?

Advanced: MIME Types The following information assumes you are logged into cpanel.To do this,...

Using the Index Manager

Index Manager CLICK HERE TO VIEW THE VIDEO TUTORIAL   When accessing a directory (rather...

How do I setup customized Apache Handlers?

Advanced: Apache Handlers The following information assumes you are logged into cpanel.To do...