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)
On your dashboard, select the cPanel Admin button that appears above Settings.
Select Error Pages under the Advanced section.
For Step 1 – Select Domain to Manage Error Pages, choose the domain you wish to use.
For Step 2 – Edit Error Pages for: (your domain), select 404 (Not Found).
If you have any HTML knowledge, make the necessary changes here. Once done, select Save to confirm your changes.
Web Hosting plans purchased before July 2020 / Premium Hosting plans purchased before August 2020
Open Notepad or a similar text editor.
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
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’.
Upload your .htaccess file to your webspace using an FTP client.