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

Why My Blog redirects to a country-specific URL (ccTLD)? How to prevent it?

16
data:blog.title
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].blogspot.com to [blogname].blogspot.com.in). 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].blogspot.com version only.

List of Country-specific URL (ccTLD)

Generally we see Country-specific URL (ccTLD) in case of below countries-
  • Argentina (blogspot.com.ar)
  • Australia (blogspot.com.au)
  • Brazil (blogspot.br)
  • Canada (blogspot.ca)
  • Germany (blogspot.de)
  • India (blogspot.in)
  • Indonesia (blogspot.co.id)
  • Italy (blogspot.it)
  • France (blogspot.fr)
  • Japan (blogspot.jp)
  • Mexico (blogspot.mx)
  • New Zealand (blogspot.co.nz)
  • Portugal (blogspot.pt)
  • Spani (blogspot.cl)
  • Sweden (blogspot.se)
  • UK (blogspot.co.uk)

For example you Blog URL is [blogname].blogspot.com but when users visit your Blog from Canada then the URL will be changed to [blogname].blogspot.ca 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].blogspot.com/ncr
http:// [blogname].blogspot.com/ncr/p/disclaimer.html
http:// [blogname].blogspot.com/ncr/2016/03/stop-country-redirect-on-blogspot-with-javascript.html
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 += ".blogspot.com/ncr" + slug;
window.location.replace(ncr); }
</script>

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.  
How to Stop Blog redirection to a country-specific URL (ccTLD)?
4 Stars stars - "How to Stop Blog redirection to a country-specific URL (ccTLD)?" Recently we have seen some unexpected changes on our Blog URL. That is Domain URL is changing ...

Post a Comment

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

Welcome Haritha... but Spamming is not a good idea.

Wonderful article, very useful and well explanation. Your post is extremely incredible. I will refer this to my candidates
SAP ABAP Training in Chennai

Thanks Gyathri for your lovely complement :sp ..wish you all the best

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

Thanks Ahsan, Love to hear that. :up

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

Welcome Brother Shaiullah. And I am very glade for your kind words.

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

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

Hello..Now blogger.com convert all site http to https , so what code is now for redirect all country to .com ... Thanks..

You can simply replace all http: with https: that's it. :sp

Thanks Man fast reply and work..

Thanks Chinni Bocha. I am glade to hear that you have liked my content. :wr

Facebook Group Community Disqus Channel Code ConverterHide Code Converter Show EmoticonHide Emoticon

Got questions? Ask ’em below! While we’re here, you might like to give any feedback about this Post, Your comment inspire us to continuous Improvement of This Blog and Contents. Your words are your own, so be nice and helpful if you can. Please, only use your REAL NAME, not your business name or keywords. Using business name or keywords instead of your real name will lead to the comment being deleted. Anonymous commenting is not allowed either. Limit the amount of links submitted in your comment. We accept clean XHTML in comments, but don't overdo it please.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form

Name

Email *

Message *