Pages

Friday, June 20, 2014

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

It is very important step to improve the traffics on your blog if are Changing of country specific BlogSpot domain to BlogSpot.com. When anybody saw your blog with country specific domain, they think that it is specifying for that location and the left the blog. It will bad for your blog traffic. So I would like to try something about this and share a solution for this. Hope it will work for you.


Try these steps: 

Go to Blogger.com and login to your Blog.

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

Find <head> and copy the below codes and paste 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 blog templates and see ...
Give your feedback if you like this... All in One SEO Database

4 comments: