What are Error Pages?
How do I customize my web site's Error Pages?
Summary of Issue:
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.
Information:
"Error Pages" consists of the following five types of errors:
- 400 (Bad Request)
- 401 (Authorization Required)
- 403 (Forbidden)
- 404 (Not Found)
- 500 (Internal Server Error)
To Customize your 'Error Pages" follow the below steps:
- Log into your control panel.
- Locate the 'Advanced' menu.
- Locate and click on the Error Pages icon.
- This will take you to the "Error pages" menu.
- Select the domain to customize error pages for and click the "Go" button.
- This will take you to the "Error pages" menu and lists the types of errors.
- 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 selected Error Page loads, the following six tags are 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.
You do not have to use any of the above tags. They are available to you based on your own personal preferences and needs specific to your web site.
You can place any html code or text in the error page specific to your own personal preferences and needs specific to your web site.
Once you have customized your error page, you will notice the "Save as" option text box. The "Save as" option will default to the number you chose with the addition of an .shtml extension. For example, if you chose 400, it would appear as 400.shtml. You can modify this name to the code you want. Only modify this to an error that you know will be shown on your web site.
Tip: You can find what error
codes are being shown to your visitors by viewing any of the available
web site statistical analysis programs built in to cPanel such as Awstats,
Webalizer, etc.
9. If you are satisfied with your customized error page click on the "Save" button to store your changes. You will be taken to the "Error page saved" menu at this screen:
10. Click the "Go Back" button to return to the Error pages main menu to edit a different Error Page o
11. Click the "Home" icon in the upper left hand corner to return to the main cPanel menu.
Keywords: error pages How do I customize my web site's Error Pages? What are Error Pages?