Prevent Blogger from Redirecting your Blogspot Blog to Country Specific URLs


Google outomaticly redirects Blogger blogs to country-specific domains. For instance, if you open bloggerunlocker.blogspot.com in your browser, you might be redirected to bloggerunlocker.blogspot.in if you are located in India or to bloggerunlocker.blogspot.co.uk if you access the same blog from UK. This also affect Alexa ranking.


How to Prevent Blogger from Redirecting to Country-Specific Domains


  1. Go to Template>Edit HTML
  2. Find <head>
  3. Paste the following code below it
<script type="text/javascript">      var blog = document.location.href.toLowerCase();      if (!blog.match(/\.blogspot\.com/)) {        blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");        windows.location.replace(blog);      }</script>
That's Its :)

Previous
Next Post »