How Do I Create 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 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.
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.
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.
Example
<h1>404 Not Found</h1>
<p>The requested page, <!--#echo var="REQUEST_URL" --> ,is not available.</p> - Click on the Save button.
Getting Started
Passwords
Which Folder Do I Use?
How Do I View My Site?
All About FTP
All About Using File Manager
How Do I Backup My Site?
How Do I Edit an Email Account?
Setting Your Default Email Address
How Do I Access Webmail?
How Do I Change My Email Password?
How Do I Set Up Outlook to Pick up Mail?
I receive an error when I try to send email How Do I Create an Autoresponder?
How Do I Block Unwanted Email?
How Do I Create an Email Alias/Forwarder?
How Do I Create a Mailing List?
How Do I Use Spam Assassin?
Domains
Site Management
About Your Raw Access Logs
About the Raw Access Log Manager
Redirects
How Do I Install Frontpage Extensions?
About Cron Jobs
What are MIME Types?
What are Apache Handlers?
How Do I Manage OpenPGP Keys?
Hotlink Prevention
About the Index Manager
About the IP Deny Manager
How Do I Create Custom Error Pages?
Install Guides
Databases
