How do I create custom error pages?

This article will help you to create custom error pages on your hosting package

A custom error page is a unique landing page that you can create and automatically show to your visitors when an error occurs on your website.

Having one in place allows you to add a witty or helpful message that’s in-line with your brand personality and redirects users to a working page on your website. What’s more, a custom error page is far more beneficial than a generic error page, since the latter will likely frustrate your visitors and cause them to leave your website. You can set up your own error page by following the instructions outlined below.

Simply click on a title below to skip to the most appropriate FAQ. You can also click the Top button to return and make another selection.

Web Hosting plans purchased after July 2020 / Premium Hosting plans purchased after August 2020 (cPanel)

Step 1 of 6

Start by accessing your Web Hosting dashboard.

 

Step 2 of 6

On your dashboard, select the cPanel Admin button that appears above Settings.

Dashboard

 

Step 3 of 6

Select Error Pages under the Advanced section.
Select Error Pages

 

Step 4 of 6

For Step 1 – Select Domain to Manage Error Pages, choose the domain you wish to use.

Select

 

Step 5 of 6

For Step 2 – Edit Error Pages for: (your domain), select 404 (Not Found).

Edit error pages

 

Step 6 of 6

If you have any HTML knowledge, make the necessary changes here. Once done, select Save to confirm your changes.

Click Save

 

Web Hosting plans purchased before July 2020 / Premium Hosting plans purchased before August 2020

Step 1 of 4

Open Notepad or a similar text editor.

 

Step 2 of 4

Copy and paste the following text into your file:

ErrorDocument 400 http://www.mydomain.co.uk/400.html
ErrorDocument 403 http://www.mydomain.co.uk/403.html
ErrorDocument 404 http://www.mydomain.co.uk/404.html
ErrorDocument 500 http://www.mydomain.co.uk/500.html
Step 3 of 4

Replace “mywebsite.co.uk” with your own domain name. Once done, save the file as .htaccess and be sure to set the file type as ‘All Files’.

 

Step 4 of 4

Upload your .htaccess file to your webspace using an FTP client.