Advertise Here


If you have a blog in blogger than your blogs have many urls (that are country specific for India, for uk and so on..) which is bad for your blog from SEO's perspective. When your blog will have different urls then your blog's google juice will be diluted. Your blog visitors from a specific country will see your (.blogspot.***) country's url. So, the alexa rank will also get affected (Alexa rank will be distributed among your various Urls. So, how to stop this? Here is one solution...

When anyone comes to your blog google redirects it to the country's url i.e from where your blog is getting visit. This is done by google through 302 redirection. So, what we have to do is to stop the 302 redirection. You can stop it by using some simple scripts. Here is the script that I use:

<script type="text/javascript">var blog = document.location.hostname;var slug = document.location.pathname;var ctld = blog.substr(blog.lastIndexOf("."));if (ctld != ".com") {var ncr = "http://" + blog.substr(0, blog.indexOf("."));ncr += "" + slug;window.location.replace(ncr);}</script>
All you have to do is to copy this code and paste it in the <head> section and you are done. Don't know how to do this? Read the steps below...

  • Go to and sign in. Select your Blog.
  • Go to Template -----> Edit HTML -----> Proceed.
  • Find <head> [Press Ctrl + F to Find] and copy the above codes just below it.
  • Click save template.
  • You are done.

Post a Comment Blogger Disqus

  1. what if i want to re - enable 302 redirection in it plz help

    1. To re-enable 302 redirection simply remove the code... :) !!

  2. This comment has been removed by a blog administrator.


Get Free Updates...!!!