Sunday, June 9, 2013

Redirect from page not found to home page

Redirecting that error page page to home page is the better solution to 404 page not fund 


How to redirect from page not found to home page : 


Blogger conatains custome page not found option.Through this option by adding simple script code we can redirect that error page to some other page. 

Follow below steps to redirect from page not found to home page in blogger blog:

step1: go to blogger


step2: go to preferences


step3: click on custome page not found(uder errors and redirections)


step4: click on edit and paste the below code in that box.


Sorry, the page you were looking for in this blog does not exist. You will be redirected to homepage shortly. <script type = "text/javascript"> //Blogger 404 Redirect v1.0 by GreenLava(BloggerSentral.com) BSPNF_redirect = setTimeout(function() { location.pathname= "/" }, 5000); </script>
step5: click on save 

No comments:

Post a Comment