Pentru rezolvarea Erorilor 404 pe bloger am gasit solutia de mai jos:
Pe scurt:
- Go to Settings > Search preferences > Custom Page Not Found (under Errors and redirections).
- Click Edit and paste this:
- <script type = "text/javascript">
//Blogger 404 Redirect v1.0 by GreenLava(BloggerSentral.com) BSPNF_redirect = setTimeout(function() { location.pathname= "/" }, 5000); </script>
- The top is the message. You are free to change it.
- To redirect to a page/site other than your homepage, replace pathnamewith href, and
/
with the URL of the page/site. - The number 5000 is the delay in milliseconds. You can change it to whatever value you think appropriate. Zero means immediate redirect (no delay).
- To redirect to a page/site other than your homepage, replace pathnamewith href, and
- Click Save changes.
To test simply enter any URL that doesn’t exist in your domain/subdomain (e.g. http://yourblog.blogspot.com/dfsfgd) and see if your new Page Not Found message appears, followed by redirection after 5 seconds.
If you find any bugs/side effects, please let us know in the comments.
Enjoy
0 comentarii:
Trimiteți un comentariu