Share

Press CTRL+A If Any Post Is Not Seen Please share or checkout free offers below to unlock this page.

Ipad 2: Enter your email and get Apple iPad 2 - Back to School

Pages

nutanemptyssoftandgames

IP

Sign by Danasoft - For Backgrounds and Layouts

Earn Money And 0.1 Minimum Payout

Earn Money To Reveiw Websites

Earn Money Easily And 0.1 Payout

Earn Money And 0.1 Minimum Payout

Earn Money Easily And Payout 1.0

Earn Money And With No Minimal payment

Earn2Life: your online money-making opportunity!

Tuesday, April 3, 2012

How to Redirect Blogger Blog .in Domain to .com Easily

Blogger-LogoGoogle had applied some changes to blogger blogs and their policies after SOPA and PIPA problems arose so what the thing was done that all your Blogger Blogs were redirected according to your country so if you are from India and your blog was something like xxxxx.blogspot.com and now if people come to your blog from India they will be redirected to your another blog that’s xxxxx.blogspot.in. So that affected Alexa rankings and many backlinks and other stuff so overcome that we found an interesting script that can redirect your Blogger blog back to .com domain name. Its easy to use and steps are below for you to follow and apply it to your blog.


Steps For Redirecting your .in blogger Domain to .com



1. Go to Blogger.com and Login to your Account and navigate to Template > Edit HTML.
2. Now find </head> tag and than paste the below code right above it.
if ((window.location.href.toString().indexOf('.com/'))=='-1') {
  window.location.href =
  window.location.href.toString().replace('.blogspot.in/','.blogspot.com/ncr/');
}


3. Now Save your Template and that’s it done. Now the above code is only for the Indian Blogs means those are redirecting to .in domain if you are in another country and you want your Blogs to redirect from your country to .com just change the code lines above.
if ((window.location.href.toString().indexOf('.com/'))=='-1') {
  window.location.href = 

window.location.href.toString().replace('.blogspot.com.au/','.blogspot.com/ncr/');

}
4. Now the above code is for Australians so you just need to change the domain name which is bolded 
according to your country just find all the URL Google it, now change it and paste the code.
Now try refreshing your blog and you will see that how your blog is automatically redirected to .com 
domain name, have fun enjoy :)
Nutan's Soft And Games (www.nutansoftandgames.blogspot.com)

No comments:

Post a Comment