Blog Lab : A TechDroider.com website | All about blogging , seo , earning money from internet and more !

Monday 2 November 2015

How to Prevent Blogger from Redirecting to Country-Specific URLs

with 11 comments



Most of us have seen that Blogger usually redirects Blogspot url to Country-Specific URLs . For example if you are living in India , and if you will open -

www.TechDroiders.blogspot.com

Then this above url will be redirected to -

www.TechDroiders.blogspot.in

But now you can Prevent Blogger from Redirecting to Country-Specific URLs .

How to Prevent Blogger from Redirecting to Country-Specific URLs -

Step 1. Go to Blogger Dashboard and Choose Template .

Step 2. Click Edit HTML

Step 3. Search <head> tag .

Step 4. Copy and Paste below html code under <head> Tag .


<script type="text/javascript">
var blog = document.location.href.toLowerCase();
if (!blog.match(/\.blogspot\.com/)) {
blog = blog.replace(/\.blogspot\..*?\//, ".blogspot.com/ncr/");
window.location.replace(blog);
}
</script>

Step 5. Click on Save .

Thanks to labnol.com for sharing this trick . Now your Blogspot url will not be redirected to any country specific url !


11 comments:

  1. Casinos Near Bryson City Casino - MapyRO
    Find 제주 출장안마 Casinos Near Bryson City 보령 출장마사지 Casino in Bryson City, 부산광역 출장마사지 North Carolina in 울산광역 출장안마 realtime and see activity. 충주 출장마사지 Best for: $100 Free Bingo Bonus.

    ReplyDelete
  2. I appreciate your information in this article.

    ReplyDelete
  3. Thank you for the good information you share with us.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. it was really great for me – I was looking for such a thing

    ReplyDelete

  6. Preventing Blogger from redirecting to country-specific URLs involves a few steps. Firstly, log in to your Blogger dashboard and go to "Settings." Under "Basic," find the "Country" option and set it to "Don't redirect." Save the changes to ensure your blog remains on its original URL. Additionally, use a Virtual Private Network (VPN) to access your blog, masking your location and bypassing any automatic redirections. Regularly check and update your blog settings to ensure they align with your preferences and avoid unwanted geographic redirects. By following these steps, you can maintain control over your Blogger URL and prevent country-specific redirections.
    fairfax divorce lawyers

    ReplyDelete
  7. Fantastic blog: I had a great time reading your insightful and amazing blog. Continue giving.prince william county criminal defense attorney

    ReplyDelete
  8. What an insightful article! Thanks for sharing this valuable information. It's always great to learn something new and broaden our perspectives. semi trucks accident

    ReplyDelete
  9. Fantastic blog. I had a wonderful time reading your intelligent and fantastic site. Continue giving. contractor salary

    ReplyDelete