Latest Updates

How to Stop Blogger Redirection to Country Specific Domain

ad+1


Stop Blogger Redirection to Country Specific Domain


Google Redirecting all blogspot blogger to their Specific Country code TLD’s. If you are visiting a blog from India, It will be redirecting .com to .in domain. If you are visiting a blog from Spain, it will be redirecting .com to .es . For example if you are from India seeing this blog address http://nbw.blogspot.com goes to http://nbw.blogspot.in.
Most of you aware of this thing that Google redirects all the Blogger / Blogspot Blog to the country specific TLDs. The reason behind it is Google’s Selective Censorship.
This redirection is called "country-code Top Level Domain" (CCTLD). It also knows as "302 Redirect" . So today I going to share a great trick to disable this country specific redirection and get a better traffic rank.


Also Read : How to Make any Blogger Widgets Sticky

How to Stop Blogger Redirection to Country Specific Domain :


  • Go to Blogger Dashboard → Template → Edit HTML .
  • Find below code.

<head>


  • Now copy the bellow code and paste below <head> .

<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>



Save your template. That’s all. Now your readers can see your blog from anywhere in the world will goes to your original .com domain only.



4 comments: Leave Your Comments

  1. http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%B9%D8%B2%D9%84-%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%B1%D8%B4-%D9%85%D8%A8%D9%8A%D8%AF%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%AE%D8%B1%D8%AC/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%A8%D8%A7%D9%84%D8%AE%D8%B1%D8%AC/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D8%AE%D8%B2%D8%A7%D9%86%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%88%D8%A7%D8%AC%D9%87%D8%A7%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%88%D8%A7%D8%AC%D9%87%D8%A7%D8%AA-%D8%AD%D8%AC%D8%B1-%D8%A8%D8%A7%D9%84%D8%AE%D8%B1%D8%AC/
    http://oliagain.com/%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%88%D9%83%D9%8A%D8%AA-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D8%B3%D8%A7%D8%A8%D8%AD-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%81%D9%84%D9%84-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9-%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%85%D9%86%D8%A7%D8%B2%D9%84-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%AA%D9%86%D8%B8%D9%8A%D9%81-%D9%81%D9%84%D9%84-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/
    http://oliagain.com/%D8%B4%D8%B1%D9%83%D8%A9/%D8%AA%D8%B3%D9%84%D9%8A%D9%83-%D9%85%D8%AC%D8%A7%D8%B1%D9%8A-%D8%A8%D8%A7%D9%84%D8%B1%D9%8A%D8%A7%D8%B6/

    ReplyDelete
  2. Country specific domain affect on site. We should buy international domain like .com, You provide the best information. Thank you for sharing post. Moreover, We provide the best and reliable commercial cleaning company Dallas tx as your desire requirements.

    ReplyDelete