Blogger redirects your site to specific country.
in order to prevent its redirection from specific country to only one domain. you need to add the following code to your site.
Here is the blogger redirection code:
add the following code in the <head> section of your blog site :
go to template> edit HTML> find <head> and paste the code below:
<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>
please subscribe in the left to receive more updates and articles
Rathnavath Ravinaik
0 comments:
Post a Comment