Breaking

Thursday, September 11, 2014

How to Prevent Blogger Blog from Redirecting to Country Specific URL

How to Prevent Blogger Blog from Redirecting to Country Specific URL





What is Blogger Redirection ?

Most of you know that Google Redirects your blog to the Country Specific URL. lets take an example say you are a Indian Blogger so, Google will Redirects your blog to example.blogspot.in and now whenever you type example.blogspot.com Google will redirects you to example.blogspot.in.

Now, if somebody is posting Blog from Australia so he/she will be redirected to example.blogspot.co.au though he/she type example.blogspot.com . 

Same thing follows for the rest of Countries .



India: example.blogspot.in
Australia: example.blogspot.com.au
New Zealand: example.blogspot.co.nz
United Kingdom: example.blogspot.co.uk
Germany: 
example.blogspot.de
France: 
example.blogspot.fr
Spain: 
example.blogspot.com.es
Japan: 
example.blogspot.jp
Brazil: 
example.blogspot.com.br
Mexico: 
example.blogspot.mx
Argentina: 
example.blogspot.com.ar
Italy: 
example.blogspot.it      
                                            

                                   
Portugal: example.blogspot.pt
Sweden: example.blogspot.se

Czechia: example.blogspot.cz
Slovakia: example.blogspot.sk
Austria: 
example.blogspot.co.at
Switzerland: 
example.blogspot.ch
Denmark: 
example.blogspot.dk
Netherlands: 
example.blogspot.nl
Belgium: 
example.blogspot.be
Romania: 
example.blogspot.ro
Ireland: 
example.blogspot.ie
Norway: 
example.blogspot.no
Finland: 
example.blogspot.fi
Greece: 
example.blogspot.gr
Israel: 
example.blogspot.il
Canada: example.blogspot.ca




What are Dis-Advantages ?

There are many Consequences of Re-directions. Redirection always affects you Social Presence, Your blog's Traffic. it will dilute your Social Stats, Facebook Likes, Google +1, Tweets Counts and also Pinterest's Pins.

How to Prevent Re-Direction ?

So, now you have the proper idea of Re-direction and there Consequences. so, you might be thinking is there is any way to block / Stop Blogger to Redirect.

The answer is Hell Yes. I've Wrote one < Script >  which will definitely Block / Stop Blogger from Redirection to Country Specific Domains / URL's.



<script type="text/javascript">
var blog = document.location.hostname.split(".");
if (blog[blog.length - 1] != "com") {
var ncr = "http://" + blog[0] + ".blogspot.com/ncr";
window.location.replace(ncr + document.location.pathname);
}
</script>


The < Script > written above will block blogger from Redirect to Country Specific Domains.  you can see my blog it won't Redirect from http://trickmasterkundan.blogspot.in to http://trickmasterkundan.blogspot.in

Now, you just have to paste this code in your blogger. 



Follow the Steps :-

1)  Open blogger.com .

2)  Go to Template from the drop-down list or from the DASHBOARD .

3) Choose " Edit Template "  followed by  " Customise " .


4) Paste the Code or Script into the <head> Section.


5) Save Template



 
That's all you need to do the rest is Intelligently automated. now, this code will force the blogger to serve you with example.blogspot.com URL .

Don't Forget to Comment, Share and Subscribe .

#HappyBlogging :)
Poste By Admin

No comments:

Post a Comment

Adbox