Today in this post i will try to solve the problem of multi-domain in blogger that causes a bigger problem in Alexa ,The last one Calculates visits for each domain. For example These are several different blogger domains like:
https://bloggerwidgets4free.blogspot.com
http://bloggerwidgets4free.blogspot.co.uk/
http://bloggerwidgets4free.blogspot.de/
http://bloggerwidgets4free.blogspot.com.eg/
let me explain you how to solve this BIG PROBLEM *_*
Step 1 :Go To Blogger.com >> Template >> Edit Template
and search for this tag ==> </head> after you find it copy paste the code bellow before 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 = "//" + blog.substr(0, blog.indexOf("."));
ncr += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>
var blog = document.location.hostname;
var slug = document.location.pathname;
var ctld = blog.substr(blog.lastIndexOf("."));
if (ctld != ".com") {
var ncr = "//" + blog.substr(0, blog.indexOf("."));
ncr += ".blogspot.com/ncr" + slug;
window.location.replace(ncr);
}
</script>
Step 2 : Click Save Template
Step 3 : Try to visit your blog via different domains...
Step 4 : if you are redirected to .COM domain so congratulations if not leave a comment here to see what is the problem ..
That's All .
Tags:
Solutions
Post a Comment
0 Comments