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 bloggerstep2: 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
0 comments