Entertainment | Relationships | Lifestyle | Health | Cars

Sunday, 27 November 2016

How to increase your Alexa rank by stopping blogger from redirecting to country specific URL



How to stop blogger from redirecting to country specific url
In a world where every blogger has so much interest in the Alexa and page rank of his blog and comes a new beast determined to ruin the reputation of our mighty blogspot blog and introduced by Google. Blogger blogs are now redirecting to country specific domains, what a mess! It simply means that if someone from Indian visits your blog, it will automatically add in to your blog address, when it is visited from Nigeria, Georgia or Pakistan, it will add .ng, .ga and .pk respectively.
It is very necessary to stop your blog from redirecting to country-specific url because when it does so, it will be considered as new URLs and it might interest you to know that visitors of such URLs are not considered to be your blog readers even though the contents are the same. This affects your Alexa ranking and page ranking juice tremendously so you have to save your rankings by simply putting a stop to the redirection.
To stop it simply login to your blog’s admin area
  1. Click on Template from the sidebar and then Click on Edit HTML.
  2. Press Ctrl+F to find, search for <head> tag in your template.
  3. Ones you find the </head> tag, paste the following code below </head> tag
<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 += ".blogspot.com/ncr" + slug;
        window.location.replace(ncr);
      }
</script>

Click on Save Template and and you are done. Your blog will no longer redirect to country specific URLs.
Hope it was helpful, please leave a comment and don’t forget to share with your friends, it may be exactly what they need to read now.

No comments:

Post a Comment

Thanks for leaving a comment!