If you use cPanel to manage your website with (if your webhost offers it) you can easily set up error pages to direct visitors back to your main page. Don’t lose visitors! Make use of those error pages everyone!
If you have cPanel, click on “Error pages”.
Now click one of those numbers you see and insert this:
Code:
<html>
<head>
<title>Redirect</title>
<meta http-equiv=”REFRESH” content=”0; url=http://www.yourwebsite.com”>
</head>
<body>
</body>
</html>
Replace yourwebsite.com with the name of your website address. Click on “Save” button at the bottom without changing anything else. Repeat for all the other numbers in your error pages section.
If you want to show a page with options and a layout to match your website instead of redirecting visitors to your main page, you can insert an html code page in there instead. Make certain to use full paths to your image files so they won’t be broken.
If you do not have cPanel, you can still set up error pages. Just create the error pages and name them accordingly.
Have fun!




