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

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.
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

How do I password protection a directory?

Overview Password protection allows you to require a username and password to access a folder...

How do I remove an Addon Domain?

Overview You can set any of your Addon Domains to point to a different location on your web site...

How do I view the last 300 error messages that have been created by my web site?

Overview This function will display the last 300 errors for your site. This can be very useful...

How do I remove a Subdomain?

Overview If you want to remove a subdomain, cPanel has a built-in feature that will allow you to...

How do I delete an email account?

If you delete an email account, the system automaticallydeletes all email associated with the...

Powered by WHMCompleteSolution