How to Disable Country Specific Domain Redirection in Blog
- Go to your Blogger Dashboard click on ---> Design tab ---> Edit HTML tab.
- Make sure to take backup of your Template before making any changes to your HTML.
- Now click on Expand Template Widgets check box.
- Search for </head> code in your Template. .
- Copy and Paste the following code BEFORE the </head> and Save your template and see the URL..
- <script type="text/javascript">
-  if ((window.location.href.toString().indexOf('.com/'))=='-1')
-  { window.location.href = window.location.href.toString().replace('.blogspot.in/','.blogspot.com/ncr/').replace('.blogspot.com.au/','.blogspot.com/ncr/').replace('.blogspot.co.nz/','.blogspot.com/ncr/'); }
-  </script> 
 
No comments:
Post a Comment