What is the code for redirect my blog from blogspot.in to blogspot.com
1. Go to Blogger.com and Login to your Account and navigate to Theme> Click on Edit HTML.
2. Now find </head> tag and than paste the below code right above it.
3. Now Save your Template and Refresh your blog
2. Now find </head> tag and than paste the below code right above it.
3. Now Save your Template and Refresh your blog

Paste this Code before closing </head>
<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>
nice its work
ReplyDeletei think its copied
ReplyDeleteNo problem dude, because it's working thanks for sharing..
Delete