Redirect To

3 1,665
  • Design

Simply redirect To ! As I did ..!

Earlier I was very curious about this, So you can also do this with your blog by simply adding this javascript code below mention..!

Step(1): You have to go to > Template > Edit HTML.

Step(2): Try to Find <head> tag.

Step(3):  Once you find <head> tag, Now Paste Below mention JavaScript code below <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;

or you can use this script..below

<script type=’text/javascript’>
if ((window.location.href.toString().indexOf(&#39;.com/&#39;))==&#39;-1&#39;) {
window.location.href =

Step(3): Now you have to save your template.

Now its All Done.. You blog will always appear as . And please don’t forget to say thanks to me…!

Karan Rawat
Follow Me

Karan Rawat

Karan Rawat Is A Google Certified Digital Marketing Professional, Blogger, Coxcomb,Single, Human & A Proud #Garhwali❤ Celebrate His Birthday On15th Of July.
Karan Rawat
Follow Me
  1. sakshi says

    This blog is very helpful to know How to redirect the blog.
    Redirect blogspot

  2. Jacquie says

    Thanks for finally writing about Redirect To Loved it! Thanks for sharing such a nice way to redirect the blog.

  3. kacey seccombe says

    Hey thanks sharing the script and coding with us to change the to…very useful it is!!!

Leave A Reply

Your email address will not be published.