If you have ever been prone to typos (and who isn’t?), then you have likely encountered the ever-popular 404 File Not Found error on a website. You might have also noticed that some of those websites have custom error pages with links back to working pages and sometimes even nice graphics and logos. You too can have fancy error pages like this with just a little HTML work and some help from your cPanel web-based control panel.
To edit your website’s error pages in cPanel, follow these steps:
Login to cPanel
Navigate to Home -> Advanced -> Error Pages
Click the name of the error code you want to edit (i.e. 404 Not Found, 500 Internal Server Error, or 403 Forbidden)
To make a plain error message, simply type the message into the text box
(Optional) To further customize the error page, use the HTML editor to create whatever you want.
You can be as plain or creative as you want with your error pages. Just keep in mind that the goal is not to have your error pages seen by users but to get them back where they need to go in the event that they actually do end up on one of them. At the very minimum, that means you should provide a link back to your main page, and if possible, provide helpful suggestions as to how they might have arrived at that error. You can view your website’s statistics to find out how often certain error pages are hit, and that can help you address those issues and ultimately mitigate them.