Monday, 30 September 2013
Sitemap
Posted on 08:57 by Unknown
Sunday, 25 August 2013
Stopping Blogger Country Specific Redirection | Do You Want To Stop Blogger Country Specific Redirection
Posted on 20:54 by Unknown
Blogger provided by Google is a very big platform on internet with millions
of blogs are hosted on it.Recently Blogger has introduced country specific
redirection.Do You understand what I mean. For example, if you are from
India,entered a blog name sample.blogspot.com, you will be simply redirected
to sample.blogspot.in.This technique of redirection is provided by Blogger for
providing better support for local blogs.Though this is useful for local blogs,
there is a problem also i.e losing Alexa ranks and Page rank.I think this is not
healthy for any blog.So it is better to remove this type of redirection.
Do You Want To Stop Blogger Country Specific Redirection?
If you say Yes,Stopping Blogger Country Specific Redirection is very simple.
Here is a simple code you simply copy and paste it after <head> in blogger html
code.
Go to Template ->Edit HTML ->Press CTRL+F and search for <head> by pasting
<head> in window comes after pressing Ctrl+F
Just below <head>, Paste the following Code.
<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>
After adding the code Save the Template.
It is almost done.Now You can check your blog by entering in address bar. For
example http://info-2know.blogspot.com/
Tags:Stopping Blogger Country Specific Redirection,Do You Want To Stop
Blogger Country Specific Redirection,How to Stop Blogger County Specific
Redirection,Blogger Tricks
of blogs are hosted on it.Recently Blogger has introduced country specific
redirection.Do You understand what I mean. For example, if you are from
India,entered a blog name sample.blogspot.com, you will be simply redirected
to sample.blogspot.in.This technique of redirection is provided by Blogger for
providing better support for local blogs.Though this is useful for local blogs,
there is a problem also i.e losing Alexa ranks and Page rank.I think this is not
healthy for any blog.So it is better to remove this type of redirection.
Do You Want To Stop Blogger Country Specific Redirection?
If you say Yes,Stopping Blogger Country Specific Redirection is very simple.
Here is a simple code you simply copy and paste it after <head> in blogger html
code.
Go to Template ->Edit HTML ->Press CTRL+F and search for <head> by pasting
<head> in window comes after pressing Ctrl+F
Just below <head>, Paste the following Code.
<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>
After adding the code Save the Template.
It is almost done.Now You can check your blog by entering in address bar. For
example http://info-2know.blogspot.com/
Tags:Stopping Blogger Country Specific Redirection,Do You Want To Stop
Blogger Country Specific Redirection,How to Stop Blogger County Specific
Redirection,Blogger Tricks
Subscribe to:
Posts (Atom)