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


22 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
  10. our comprehensive guide empowers you to take control of your online experience and enjoy unrestricted access to the content you love. abogado dui petersburg va

    ReplyDelete
  11. I appreciate how the writer tackled this topic. Their clear and concise explanation made it much easier to grasp. Kudos for making it so relatable! Visit our link for ISO Certification in Saudi Arabia


    ReplyDelete
  12. To prevent Blogger from redirecting to country-specific URLs, disable Country Redirection in Settings, modify the HTML template, find the redirect code, use a custom domain, clear cache, check for external plugins, and test the changes. If issues persist, contact Blogger support for further assistance. Ensure your blog is updated with the latest version and test the changes from different locations How to File an Uncontested Divorce in New York.

    ReplyDelete
  13. our comprehensive guide empowers you to take control of your online experience and enjoy unrestricted access to the content you love. virginia uncontested divorce checklist

    ReplyDelete
  14. Great article! I appreciate the tips on preventing Blogger from redirecting to country-specific sites. It's frustrating when visitors can't access content due to geographical restrictions. Your suggestions on adjusting settings and using custom domains are really helpful. Thanks for sharing this useful information. reckless driving lawyer fairfax va

    ReplyDelete
  15. Great guide on preventing country-specific redirects in Blogger! This really helps keep URLs consistent for better SEO. Speaking of adventure, if you're a fan of Harrison Ford, check out the Indiana Jones and the Dial of Destiny Brown Leather Jacket – a must-have for fans of the iconic character.

    ReplyDelete
  16. Very informative! Possession of child pornography is classified as a felony, carrying substantial prison terms, fines, and mandatory registration as a sex offender. Maryland Child Pornography Penalties Those convicted can face sentences starting from one year for first offenses, with increased terms for subsequent offenses.

    ReplyDelete
  17. "Great tips for keeping your blog's reach global! If you’re looking to stay stylish while blogging, check out these premium Cobra Kai jacket—they’re a must-have for every content creator on the go! #stylemeetsfunction"

    ReplyDelete
  18. I appreciate your information in this article.Face Toner

    ReplyDelete
  19. For those accused of driving under the influence, a Dui Lawyer Clarke VA offers knowledgeable legal counsel. They seek to refute the facts, bargain for lighter sentences, and safeguard your driving rights and future prospects.

    ReplyDelete
  20. To prevent Blogger from redirecting to country-specific URLs, you can implement a simple solution by forcing the site to display the original .com domain instead of a localized version. One common method is to add a query parameter at the end of the URL, such as ?ncr, which stands for "no country redirect." For example, accessing yourblogname.blogspot.com/ncr ensures that the site remains on the .com domain regardless of your location. A Traffic Lawyer Arlington VA specializes in defending individuals facing traffic violations, including speeding tickets, reckless driving, DUI charges, and other infractions. With extensive knowledge of Virginia’s traffic laws, they provide expert legal representation to help reduce penalties, avoid points on driving records, and minimize fines.

    ReplyDelete