Stop Blogspot to Redirect Country Specific URL

      

Blogger had recently started to redirect blogspot blogs to country specific URL. This means that blog’s URL redirects from .com to country specific .in or .au or .uk etc. That means if you are reading blog from Australia than the URL would be redirected to .au. A report says that many countries are affected from this. These countries are

Specifically: ccTLD – country code top-level domain

The redirection on Blogger country specific URL is technically called as country code top-level domain(ccTLD). This top-level domain is reserved for respective countries.

  1. Argentina [blogspot.com.ar] 
  2. Australia [blogspot.com.au]
  3. Brazil [blogspot.com.br]
  4. Canada [blogspot.ca]
  5. Czech Republic [blogspot.cz]
  6. France [blogspot.fr]
  7. Germany [blogspot.de]
  8. Hong Kong [blogspot.hk]
  9. India [blogspot.in]
  10. Italy [blogspot.it]
  11. Japan [blogspot.jp]
  12. Mexico [blogspot.mx]
  13. New Zealand [blogspot.co.nz]
  14. Portugal [blogspot.pt]
  15. Romania [blogspot.ro]
  16. Spain [blogspot.com.es]
  17. Sweden [blogspot.se]
  18. UK [blogspot.co.uk]

If you want to prevent this country specific redirection then follow the steps given below.

How to stop redirecting the URLs?

You can always view the .com part of any blogspot using /ncr with the URL as shown below:
Normal URL without /ncr >>> http://analytics.blogspot.com/  (This will redirect to country specific URL)
With /ncr >> http://analytics.blogspot.com/ncr

Step 1

Goto ‘Design‘ from your blogger dashboard.

Step 2

Then select ‘Edit HTML’.

Step 3

Find <Head> and paste the code given below right below it.

<script type=’text/javascript’>
var str= window.location.href.toString();
if ((str.indexOf(‘.com/’))==’-1′) {
var str1=str.substring(str.lastIndexOf(“.blogspot.”));
if (str1.indexOf(‘/’)==’-1′) {
var str2=str1;
}
else {
var str2=str1.substring(0,str1.indexOf(‘/’)+1);
}
window.location.href =window.location.href.toString().replace(str2,’.blogspot.com/ncr/’);
}
</script>

 

Error in Code Then Copy From here http://tinypaste.com/5016104d

That’s it!! Now your blog will not redirect to country specific URL. This may help your SEO too.

About

Sandeep who always wants to explore and share interesting Tips, Tricks, Tutorials, Guides and More. Catch him on Twitter, Join Facebook Fan Page. Subscribe to wRock feed via RSS or EMAIL to receive instant updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Human Verification: In order to verify that you are a human and not a spam bot.