How To Stop Redirecting your Blog Into Country Specific URL

As Google do in their Search website ,where it automatically redirects to country specific URL, (for example, Suppose you enter www.google.com from India it automatically redirects into www.google.co.in ) Similarly now onwards blogger also redirects your Blog URL.

   

What for this country specific URL redirection ?

    As laws are different in different countries, Google can freely block , remove content from specific blog according to their local law. And this blog will be visible to other countries in world.

 If you are Disagree with this Idea of Google and wish to prevent this Country specific redirection of your Blog ?

  1. Go to Blogger.com and Login with your Email ID and Password.
  2. Go to  Template on Left Side Bar and Click on 'Edit HTML' ( See the Image)
  3. Copy Down the Below code and Paste after the <head> Tag.
  4. <script type="text/javascript"> var blog = document.location.hostname; var slug = document.location.pathname; var name = blog.split("."); if (name[name.length-1] != "com") {   var ncr = name[0] + ".blogspot.com/ncr";   window.location.replace ("http://" + ncr + slug); } </script>
  5. Click on "Save Template on the Bottom.

By : Hasi Haseeb
Category:

5 comments:

  1. Usefull Script For

    BLogspot.com users

    Thanks Brother

    ReplyDelete
  2. You are the most blessed of all bloggers, my man !
    Excellent, life-saving, if it will continue to work, it will actually save two lifes :)
    Blessed thou art

    ReplyDelete
  3. That was much helpful! thank you bro

    ReplyDelete

Type your Comment Here...!