How To Redirect 404 Error Pages To Homepage In Blogger

redirect 404 error pages to homepage in blogger
Opps The Page You Are Looking For Not Found,Error 404.You Should have seen this page while browsing.What do you do when you this type of messege.I am sure you will quit the page instead going to homepage and searching your desired content mannually.The same case is when your visitors see 404 error page in your blog.To prevent losing your visitors and providing a good user experience you should redirect your 404 error to page to your homepage.Dont worry you can follow the following steps to redirect your error pages to homepage.But before doing that you should know what are 404 error page,how they occure and how to deal with them.

What Is 404 Error-Why It Occures?

This error occures when someones tries to reach the a url which is actually not preasent on your blog or may be broken.Bassically 404 error occoures when a url is broked or dead.404 error is common and almost found on all webpages on internet.
In your webmaster tools crawl section you can see all the 404 error page.They bots have crawled these links but now they don exist.The reason is that you might have deleted that post or page or moved them to a new adress.
404 error pages has not bad affect on seo of a blog the only thing they harm is users expereince of your blog.By default blogger displays a 404 error page but that is not worth seeing so you can either customise you 404 error page by providing a back to homepage button or a search box instead or you can redirect your error pages to homepage.

Common Causes Of 404 Error

When someone tries to reach a url of your blog which acctually does not exist.For example if you dont have page at yourblog.blogspot.com/google and someone look for it he will see a 404 error-not found.
Ther other common causes of 404 error is renaminf post or page url.Whenever you change your post or page url your content is moved to new url and the old url is deleted from your blog but the old url is not deleted from search engion database and social media or other sites,so when someone follow that link they see a error page.
The same case is when you delete your blog post.

How To Redirect 404 Error Pages In Blogger

Step 1 : Go to Blogger>Dashboard>Setting>Search Preference>Custome Page Not Found
Step 2 : Paste the below script in it.
<h1>Oops 404!</h1>
<br><b>The page you are looking for may have been renamed or does not exist in this server.</b>
<br><br><b>You will be redirected to homepage shortly.</b>
<script>
blogger_redirect = setTimeout(function() { location.pathname= "/" }, 7000);
</script>
Step 3 : Click Save!

Cutomisations

7000 is time in miliseconds after which user will landing on 404 error page will be redirected to homepage of your blog.You can change it according your needs.
I hope this post might have helped you, If any problem presists feel free to comment below.Please share this post and Subscribe to our blog RSS feeds to get more updates.

Tagged With

  • How to redirect 404 error pages in blogger
  • How to deal with 404 error pages in blogger
  • what is 404 error page
  • Who 404 error occure
  • How to solve 404 error in blogger blog

2 Comments

Post a Comment
Previous Post Next Post