How to Redirect 404 Error Page to Homepage
404 error page (Page Not Found) is part of every website and blog. According to Wikipedia, “The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.
404 error pages,Redirect 404 Error Page to Homepage in Blogger,You can redirect your visitors who land on 404 page. learn how to redirect 404 error pages to home page in Blogger.
Its big, its exciting and its worth an applause! Blogger finally introduced the most awaited SEO features for Google hosted Blog Spot blogs. Blogger Team is trying every possible effort to get closer to its biggest competitor WordPress in terms of development. Its believed that Blog Spot blogs are not well optimized due to limited Search Engine optimization features but with the introduction of Meta Description for individual posts, custom redirection for broken links, no-follow attribute, 404 error pages, custom robots.txt and robot header tags features, blogger surprised almost everyone today. The problem of wrong post description appearing in social networks like Facebook and Google+ will all be solved thanks to Meta Tags for posts and pages. We will look into each feature one by one so that you may understand clearly the importance of these technical SEO terms.
A non existing page on a website/blog will result to a 404 error page and this might give first timer a wrong impression about your blog. So the best solution to this type of situation is to redirect your blog 404 error page to your blog home page or a certain page on your blog. This can be done by adding a simple piece of JavaScript code to your blog. Follow the procedure outlined below to redirect your blogger error 404 page to homepage.
Log in to your Blogger , then go
Go to Blogger Dashboard
› Select a blog
› Switch to Template tab
› Edit HTML
Now search for <head> tag (using CTRL + F )
Now search for <head> tag (using CTRL + F )
Copy and paste below code just below/after <head> tag
<b:if cond='data:blog.pageType == "error_page"'>
Oops! Page does not exist. We are redirecting you to home page in just 10 second.
<meta content='5;URL=http://www.pcsoftwareclub.com' http-equiv='refresh'/>
</b:if>
Most of you know that Google webmasters give you several links which are either broken or no more exits. Broken links refer to Pages that no more exits on your blog because for some reason you may have deleted them. Now if some website is linking one of your posts that you deleted then you wont get the reward of the PageRank juice from that website to yours instead if people click that link they will land no where in your blog and will see a 404 Page not found error. There was no concept of a 404 error page before instead this page would appear:
Post a Comment