If Page Not Found Redirect To Homepage Blogger

When someone visits your blog, and the url he specified was not present, there occurs the 404 error. Then the visitor will not check your homepage or search your blog for the post he was looking for.Instead he will only go back to google and open another result.
This script makes every 404 error page redirect to your homepage so that you have more chances that the visitor notice your blog.

This trick is very simple
Just go to Blogger dashboard --> Settings--->Search Preferences-->Custom Page not found-->(Edit)
<h1>Oops 404!</h1>  
 <br><b>The page you are looking for may have been renamed or does not exist in this site.</b>  
 <br><br><b>You will be redirected to homepage shortly.</b>  
 <script>  
 blogger_redirect = setTimeout(function() { location.pathname= "/" }, 7000);  
 </script>  
Then add the following code and click save changes.

Reviews:

Post a Comment

BLOGGER SIZZLE © 2014 - Designed by Templateism.com, Plugins By MyBloggerLab.com

Contact us

Powered by Blogger.