By default Google may redirect all blogger's domain to country specific domain. Country specific URL (ccTLD) shows currently where the user is located. Even your visitors automatically get their country specific url instead of getting '.com' as blogger domain name.

For example, if you are viewing [dinetricks.blogspot.com] blog from India then this blogger domain automatically redirected to [dinetricks.blogspot.in]. Here '.in' locates country code of India.

Country Specific URL ccTLD Domains List

This is called as 'ccTLD' or 'country-code Top Level Domain'.

This tutorial helps you to know how to prevent, stop or disable default country specific URL redirection. i.e, your user will not get redirect to default blogger redirection. This is not a permanent solution; they can able view your blog with '.com' extension in any country.

The following list shows famous country specific url used by the blogs in around the world.
1. UK (blogspot.co.uk)
2. Sweden (blogspot.se)
3. Spain (blogspot.com.es)
4. Russia (blogspot.ru)
5. Romania (blogspot.ro)
6. Portugal (blogspot.pt)
7. Pakistan (blogspot.pk)
8. New Zealand (blogspot.co.nz)
9. Mexico (blogspot.mx)
10. Japan (blogspot.jp)
11. Italy (blogspot.it)
12. India (blogspot.in)
13. Hong Kong (blogspot.hk)
14. Germany (blogspot.de)
15. France (blogspot.fr)
16. Czech Republic (blogspot.cz)
17. China (blogspot.cn)
18. Canada (blogspot.ca)
19. Brazil (blogspot.com.br)
20. Australia (blogspot.com.au)
21. Argentina (blogspot.com.ar)

How to Disable or Stop Country Specific URL Redirection

Step 1: Login your blogger account.

Step 2: Goto "dashboard" then click "template" from the listed menu

Step 3: Before making changes backup your blog template. Want to know how to backup your blogger template just view this post.

Step 4: Find the <head> tag from the template source code. You can also use "Ctrl+F" in browser to find the code.

Add the following code to 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>
Step 5: Save the template.

You are done. You have successfully disable, stop or removed default ccTLD redirection!

If you running your blogger with registered domain like .com, .in, .org or other domain then you no need to update this features. Since the redirection is not applicable for a blog with custom domain.

I have checked with my blog and it’s worked for me. I hope this will work you too. Still if you have any doubts to know how to disable, stop or remove country specific URL (ccTLD) in your blogger blog redirection just leave a comment. Thanks for reading.

2 comments:

  1. it works. thanks for the useful info.

    ReplyDelete
  2. Vinteconto: Gráficos, marketing, publicidade, centenas de serviços profissionais por apenas R$20 em uma plataforma brasileira.
    fiverr
    fiverr brasil

    ReplyDelete

 
Dine Tricks © 2014. All Rights Reserved. Powered by Blogger
Top