How do I create custom error pages?

Error pages are served 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. 

To create or modify a customized error page:

Click on the Error Pages link under the 'Site Management' header in Cpanel. 

Click on the button of the required error page, such as the 404 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. 

Example

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

Click on the SAVE button. Your page for the selected error should now appear as your custom page.
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

Accessing cPanel from a dynamic IP address

If you get logged out from cPanel and get an error The IP has changed, then it is possible that...

Difference between cPanel and WHM

WHM (WebHost Manager), provides administrative control of your dedicated server or VPS. It allows...

How can I check my website access logs?

Using Raw Access Logs menu in cPanel you can check the traffic coming to your website, before it...

How do I add an Apache handler?

1. Click on the “Apache handlers” link in Cpanel. (under the 'site management header.)2. Enter...

How do I add new email account to my hosting account?

Every AllNewISP.com linux hosting account comes with a cPanel as a control panel. You can create...

Powered by WHMCompleteSolution