How to Stop Blog redirection to a country-specific URL (ccTLD)?

prevent country-specific URL (ccTLD)

Recently we have seen some unexpected changes on our Blog URL. That is Domain URL is changing automatically. For example: from [blogname] to [blogname] This is not an error from your Domain name provider. Many newbie think that their Blog URL is redirecting for the malfunctioning, but in real this is done by Google itself. Based on your Blog visitors your domain will automatically redirect to a country specific URL (ccTLD).

The prime reason behind country redirection domain is to implement the laws to free expression and controversial contents. For example:  Same law is not application to all countries or geo locations. So When Google receives a content removal request from local areas that violate local law then content will be remove from the local domains.

So this means country specific domains is not a different Blog address. But your Blog domain will redirect based on the country where you are currently located.

Does it affect my Blog?

  • Country-specific URL (ccTLD) won’t affect you Blog.
  • If you are using your Blog with custom domain then obviously it won’t affect by redirection
  • BlogSpot domain users will see country specific domain but this is totally based on their location.
  • It won’t affect your Blog visibility on search engine
  • There are a simple SEO related issue because in every crawl search engine have to find your content from different domain. But Blogger is now working on it that will make search engine to find content from [blogname] version only.

List of Country-specific URL (ccTLD)

Generally we see Country-specific URL (ccTLD) in case of below countries-
  • Argentina (
  • Australia (
  • Brazil (
  • Canada (
  • Germany (
  • India (
  • Indonesia (
  • Italy (
  • France (
  • Japan (
  • Mexico (
  • New Zealand (
  • Portugal (
  • Spani (
  • Sweden (
  • UK (

For example you Blog URL is [blogname] but when users visit your Blog from Canada then the URL will be changed to [blogname] but don’t worry it is not harmful for your Blog Domain.

How to stop or prevent country redirection from your Domain?

Though Google has introduced this function and they have also given the solution. However we can prevent this function by 2 ways those has given below-
  • Prevent Domain redirection by ncr (No Country Redirect)
  • Stop Domain Redirection by using JavaScript

1. Prevent Domain redirection by ncr (No Country Redirect)

This method has given by Google and this is very easy method. Just you have to add ncr at the end of your all URL.
http:// [blogname]
http:// [blogname]
http:// [blogname]
However this is a manual process and everybody don’t like this. Because every time your Blog readers have to add ncr at the end of your Blog ULR. And I think nobody would love to add ncr frequently.

2. Stop Domain Redirection by using JavaScript

Fortunately we can use JavaScript to stop country specific redirection of Domain. This is just one time integration process. After adding the JavaScript your Blog will always redirect to your original domain.

Step 1 Log in to your Blogger account and Go to your Blogger Dashboard

Step 2 Click on -> Template -> Edit HTML

Step 3 Now Find this code  by pressing Ctrl+F (Windows) or CMD+F (Mac)  

Step 4 Copy the script from below and paste the code below/after

<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); }

Step 5 Now simply click Save template button.

Now it will help to stop country-specific redirection on your Blog. Visitors won’t see any other Country-specific URL (ccTLD) while they visit your site. This JavaScript will take your visitors to top-level domain without any extra domain suffix.  


  1. Haritha
    Thanks a lot for taking time to provide us this unique informative blog with us. You done a great job.

    Selenium Training in Besant Nagar
    • BloggerSpice
      Welcome Haritha... but Spamming is not a good idea.
  2. Unknown
    Wonderful article, very useful and well explanation. Your post is extremely incredible. I will refer this to my candidates
    SAP ABAP Training in Chennai
    • BloggerSpice
      Thanks Gyathri for your lovely complement :sp ..wish you all the best
  3. Unknown
    Great Job Bro ! Because you well explain every articles so that why i join your blog daily i got many info in this blog Keep it up

    Best Seo Tips and Tricks to promote website
    • BloggerSpice
      Thanks Ahsan, Love to hear that. :up
  4. Lakshmi
    Thank you for this list, I found a lot of interesting things. I also learn some advance about
    Hadoop Training in Chennai
    thanks brother, i follow your every post. truly you make unique post
    • BloggerSpice
      Welcome Brother Shaiullah. And I am very glade for your kind words.
  6. Unknown
    All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.

    SAP Basis training in Chennai
    • BloggerSpice
      Hi Nainika, All spammer like you saying same thing repeatedly. But they don't know this is very hard to make visible any hidden URL in my comment section. and my Blog is completely no-follow. =)D
  7. tutorialevideo
    Hello..Now convert all site http to https , so what code is now for redirect all country to .com ... Thanks..
    • BloggerSpice
      You can simply replace all http: with https: that's it. :sp
  8. Unknown
    nice posts..

    sap fiori training in hyderabad

    • BloggerSpice
      Thanks Chinni Bocha. I am glade to hear that you have liked my content. :wr
  9. Unknown
    Best earning site dally earn 50$-60$ and 100% payment proof try this just singup : Earn money online
  10. Nice tutorial sir , I'd love it
    • BloggerSpice
      Thanks for your feedback :)
  1. To insert a code use <i rel="pre">code_here</i>
  2. To insert a quote use <b rel="quote">your_qoute</b>
  3. To insert a picture use <i rel="image">url_image_here</i>
Go Up