No matter how well planned your website is, you are bound to have to change, replace or relocate some pages within your online site. These pages will be replaced by the infamous 404 Error Pages, a common eyesore for many web users. As a site owner, you have the choice to leave this page be or use it to your advantage.
Error pages receive a considerable amount of traffic. Are you sure you want that going to waste?
You have choices available to you. Custom error pages are a thing, and you should take advantage of it!
Find out why they got there.
Error pages are known to drive users away- however, this shouldn’t be the case for your site. If the error page to catches their attention, you can flip the situation to your gain. Instead of using the generic 404 error page or the ‘page is not found’ notice, a good website owner will use this opportunity to explain what got the user to that page in the first place. Put an explanation in place and offer options for getting to the user’s original intended page.
Here are other things you should consider in building your custom error page:
To make custom pages in cPanel, follow these steps.
Error pages can be one of the following types:
For custom 404 error pages, include this inside the .htcaccess file:
ErrorDocument 404 /404.shtml
For custom 505 error pages, include this inside the .htcaccess file:
ErrorDocument 500 /500.shtml
When creating the file, the cPanel interface allows you to add the following:
When you treat the error pages with the same precision you do with your intended content, you can use this seemingly dismal situation to your advantage. Have fun with it and reap the benefits of this smart trick many website owners overlook.