You can notice that your blogger blog is redirecting from blogspot.com to blogspot.in or anyother country domain. This is the change made by the Google team to improve their spamming system. By this change they can remove the copyrighted content pages or posts in only particular country and make it available in other countries. This change may help a lot to Google team but it little burden to ourselves. This change is causing our alexa rank change for different country domain. and also wrong information in our stats and social profiles like facebook, twitter etc... Anyway we found a solution for stopping this redirection to country domains. If you are not happy with the changes to the domains then you can redirect your blog only to .com domain irrespective of visitors geographic location. Follow the below simple basic steps.
If you want to redirect your domain to any other country domain other than .com then change the .com to other country domain in the code.
After applying the above code successfully, now you can see that your blog is again redirected to the .com domain. If You have any doubts are failed to implement the code we can try to solve your doubt or problem by commenting below. You comments are the steps to our success.
- Go To Blogger
- Choose Design
- Click EDIT HTML
- Now Copy Paste The Below Code Right After The <head> Tag And Save Your Template
<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>
If you want to redirect your domain to any other country domain other than .com then change the .com to other country domain in the code.
After applying the above code successfully, now you can see that your blog is again redirected to the .com domain. If You have any doubts are failed to implement the code we can try to solve your doubt or problem by commenting below. You comments are the steps to our success.
No comments:
Post a Comment