Friday 5 October 2012

How to change Country Specific BlogSpot URL to .Com URL

Disable-Blogger-Country-Specific-Domain-RedirectionChanging of country specific BlogSpot domain to BlogSpot.com is an important step to improve the traffics to your blog. Whenever people saw the country specific domain they think that the blog is for the particular country or area and some of the visitors just left your blog and go to other blogs. Though it will not provide you a huge traffic, yet it will provide you some. So Something is better than nothing.

Actually this trick is based on Stopping of Blogger 302 Redirection. 



How to Change the Country Specific BlogSpot domain to BlogSpot.com?


  • Go to Blogger.com and sign in. Select your Blog.

  • Go to Template -----> Edit HTML -----> Proceed.

  • Find <head> [Tip: Press Ctrl + F to Find] and copy the below codes just below it.
<script type="text/javascript">
var blog = document.location.hostname;
var slug = document.location.pathname;
var ctld = blog.substr(blog.lastIndexOf("."));
if (ctld != ".com") {
var ncr = "http://" + blog.substr(0, blog.indexOf("."));
ncr += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>
  • Now save your Template. You are done..!!

  • If you like this post please comment your Valuable Feedback. Do Visit my blog regularly to  know more Tips and tricks. Till then, Goodbye. Take Care.



7 comments:

Anonymous said... [Reply]

Thank you very much !

Hitesh said... [Reply]

Welcome..

Hitesh said... [Reply]

@Julia,
Carry On..!! hope to See you again..

Unknown said... [Reply]

I don't understand about this post, can you give me more explanation i really want to understand.

thanks.

Hitesh said... [Reply]

@ Bee,
If your blog is country Specific like blogspot.in , blogspot.au etc. etc. then through this tutorial you can change your "Country Specific Blogspot Url" into .com Url.

Admin- TheXtremeTips

andi said... [Reply]

Thanks!

moonwalk said... [Reply]

Thanks a lot. It help me in solving a long problem. Well I have some Non Indian client to whom I have to work but when I send them blog it create problem. Now It solved. LOL...

Post a Comment

Facebook Twitter Subscribe

 
Twitter Bird Gadget