Google 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.
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 :)
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 :)
No comments:
Post a Comment
if you are facing any problem comment here