Friday, 21 June 2013

How To Redirect Blogspot .in URL To .com URL

1- Go to Blogger Dashboard > Design > Edit HTML.
2- Take a backup/download your template.
3- Find for </head> tag.
4- Add below piece of JavaScript code just above </head> tag.

<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 += "" + slug;
If you are big fan of blogspot, then this gonna be very helpful for you.


  1. Nice Post..Its working..Thanks & Keep Posting

  2. This is a wealthy information to everyone including the beginners of web development field.Every web developers should know this kind of information.
    Website Designing Company in Bangalore

  3. Thank you for this information.It is really informative and helpful for the people.Keep giving such a valuable information.

    website designing companies | website development company

  4. Great amazing blog your Web Design and development process starts with a focus on your online priorities -- raising money, inspiring activism, building a community of supporters, education and awareness, etc..........Website Development Bangalore | Web Design Company Bangalore

  5. These technical details had been of great help. Thanks for sharing!!Keep updating new posts on your blog!!
    Website Designing Company in Bangalore | Web Development Company Bangalore

  6. Interestingly, I have a lot more information from this forum.

  7. If you need to reinstall Windows or upgrade your motherboard, our handy guide will show you how to find or extract your Windows 10 PRODUCT KEY.