Love our updates? Don't forget to Subscribe via Email.

How to stop blogger country specific redirection

Blogger uses Country specific domain
redirection that changes your blog URL
according to your visitor country. For
example, if your blog address is
yourblog.blogspot.com and someone is
visiting your blog from canada, he will be
redirected to yourblog.blogspot.ca instead of
yourblog.blogspot.com and if someone is
visiting your blog from Italy then he will be
redirected to yourblog.blogspot.it .
Why you Should Stop Blogger Country
Specific Redirection? The answer is simple, it
will effect your alexa ranking and your
pagerank too, due to different URL's. This
redirection is called Country Specific
Redirection or "country-code Top Level
Domain" (ccTLD). The blogs with custom
domains are not affected by this method.
About 20 countries are affected by this
redirection. Today in this tutorial we'll show
you that How to Stop Blogger Country
Specific Redirection.
First for foremost go to Blogger.com and Log
in to your account. Select a Blog >>
Template >> Edit HTML and search for the
<head> tag. Now copy(Ctrl + C) the following
piece of code and paste(Ctrl + V) it just
below/after <head> tag.
<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>
Hit the Save Template button and you're
done.
We hope this tutorial may have helped you in
learning How to Stop Blogger Country
Specific Redirection. Share this tutorial with
your friends and don't forget to subscribe us.

Title : How to stop blogger country specific redirection
Description : Blogger uses Country specific domain redirection that changes your blog URL according to your visitor country. For example, if your blog ...

0 Response to "How to stop blogger country specific redirection"

Post a Comment

Let Your Voice Be Heard, Kindly Drop your Comments. We Love Them.