Saturday, April 22, 2017

How to Redirect Blogger Blogspot.in to Blogspot.com

Hello friends, how are you all? If you have a blog on Blogspot. You noticed that when you open your blogger blog in India then it could be automatically redirected to blogspot.in & when your blog open in UK then it is redirected to blogspot.co.uk. This redirection starts from google to country specific URL. Today I help you how to redirect blogspot.in to blogspot.com permanently.
So follow my steps below:

1. Go to your blogger dashboard.
2. Click on theme.
3. Then click on edit html.
4. Press ctrl+f and find </head>
5. Copy the given script and paste it before </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 += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>
6. Now click on save button.
7. Congratulations you blog will be permanently set to blogspot.com

Advantage Of This Redirection - advantage of this country specific redirection is this if your blog or any page of your blog is blocked by google in a specific country then your blog or blocked page in continuous open in another all countries.

Disadvantage Of This Redirection - disadvantage of this country specific redirection is this you can decrease your Alexa rank because Alexa shows different-different ranks to your blog with all country specific URL. Alexa shows blogspot.com rank other with blogspot.in. And when you are redirect your blog permanently to blogspo.com then your Alexa rank will be increase increase.


If you like my post please share it and if you have any problem then comment below.

important notice - If you can change your blogger template your redirection is not working. 

Reactions:

1 comment:

  1. Nice article has been posted. i really enjoyed reading your this article and also did get lots of good points from here. thanks for sharing such article here.

    ReplyDelete