How to create Custom Error pages?

Custom Error pages can be created via cPanel or through .htaccess file. Please follow the instructions below.

Create Custom Error pages via cPanel

Step 1. Log in to the cPanel.


Step 2. Click on Error Pages under Advanced panel.


Step 3. Choose on the domain name you want to apply the error pages for.

Step 4. Click on what Error page you want to edit. You may choose on the suggested common error pages or check all the HTTP Error Status Codes to see the full list.


Step 5. Insert the html code in the space provided.



<h1>Bad Request</h1>

<p>insert custom error message here</p>



Step 6. Click on Save button to save the changes.

Create Custom Error pages using .htaccess file


Step 1. Open a notepad or any computer word editor. Use the sample codes below, save as .htaccess and upload into the directory where the domain name is currently pointed. Or if you already have a .htaccess file being used by the website, you may use the codes below.

You can add more of the custom error pages or just use the most common ones – depends on your needs. Please make sure that all files are uploaded in the correct directory.

Do not hesitate to contact our support team if you have further questions.

Custom Error pages

(Visited 31 times, 1 visits today)