Saturday, April 21, 2012

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

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.
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/');
}
blogger-edit-html
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 nam

26 comments:

  1. I'll immediately clutch your rss feed as I can not find your email subscription hyperlink or newsletter service. Do you have any? Please allow me understand in order that I may just subscribe. Thanks.

    Check out my blog; Authentic Kris Letang Jersey

    ReplyDelete
  2. Admiring the dedication you put into your website and in depth information you offer.
    It's great to come across a blog every once in a while that isn't the same outdated rehashed information.

    Fantastic read! I've saved your site and I'm
    adding your RSS feeds to my Google account.


    Also visit my blog Louis Vuitton Purses

    ReplyDelete
  3. Can I simply say what a comfort to find someone who really
    understands what they are discussing on the web.
    You definitely understand how to bring an issue
    to light and make it important. A lot more people must read
    this and understand this side of the story. I was surprised that you are not more
    popular because you definitely have the gift.

    My blog: NFL Jerseys Cheap

    ReplyDelete
  4. I leave a response when I especially enjoy a post on a website or
    I have something to add to the conversation.
    Usually it's triggered by the passion displayed in the post I read. And on this article "How to Redirect Blogger Blog .in Domain to .com Easily : Piyush". I was actually excited enough to post a thought ;-) I actually do have 2 questions for you if it's okay.
    Is it only me or do a few of the remarks appear like written by
    brain dead folks? :-P And, if you are writing at additional social sites, I would like to follow anything fresh
    you have to post. Could you make a list the complete urls of your communal pages like your twitter feed,
    Facebook page or linkedin profile?

    Feel free to surf to my web page - Montre Guess

    ReplyDelete
  5. I every time spent my half an hour to read this website's articles all the time along with a cup of coffee.

    Here is my web site; http://wealthwayonline.com/louisvuittonbags.html

    ReplyDelete
  6. It's going to be end of mine day, however before ending I am reading this impressive article to improve my know-how.

    my blog post - Jordan Femme

    ReplyDelete
  7. Hello! I've been following your website for some time now and finally got the courage to go ahead and give you a shout out from Houston Tx! Just wanted to mention keep up the good work!

    Also visit my webpage :: Sidney Crosby Authentic Jersey

    ReplyDelete
  8. Right away I am going away to do my breakfast, afterward having my breakfast coming again to read more news.



    Also visit my homepage; Air Jordan Pas Cher

    ReplyDelete
  9. Good answer back in return of this issue with genuine arguments and explaining the whole
    thing on the topic of that.

    my website Air Max Pas Cher

    ReplyDelete
  10. Woah! I'm really loving the template/theme of this blog. It's simple,
    yet effective. A lot of times it's difficult to get that "perfect balance" between superb usability and appearance. I must say that you've done a superb job
    with this. In addition, the blog loads super fast for me on Firefox.
    Superb Blog!

    Check out my weblog - Air Jordan Femme

    ReplyDelete
  11. Hello there, just became aware of your blog through Google, and found that it is really informative.
    I'm going to watch out for brussels. I will appreciate if you continue this in future. A lot of people will be benefited from your writing. Cheers!

    Feel free to visit my site; Wholesale Nfl Jerseys

    ReplyDelete
  12. Hello there! I know this is somewhat off topic but I
    was wondering if you knew where I could get a captcha plugin for my
    comment form? I'm using the same blog platform as yours and I'm having trouble finding one?
    Thanks a lot!

    Also visit my webpage ... Louis Vuitton Handbags

    ReplyDelete
  13. I visit every day some websites and blogs to read articles
    or reviews, except this blog gives quality based content.


    Check out my website; Bonuses

    ReplyDelete
  14. Greetings! Very useful advice in this particular article!
    It is the little changes that produce the largest changes.
    Many thanks for sharing!

    Look at my site :: Clicking Here

    ReplyDelete
  15. I'm truly enjoying the design and layout of your site. It's a very easy on the eyes which makes it much
    more enjoyable for me to come here and visit
    more often. Did you hire out a developer to create your theme?

    Great work!

    Here is my web site; Air Max Pas Cher

    ReplyDelete
  16. Awesome things here. I am very happy to see your post.
    Thank you a lot and I am looking forward to touch you.

    Will you kindly drop me a e-mail?

    Also visit my web site ... Abercrombie France

    ReplyDelete
  17. Simply desire to say your article is as surprising. The clarity in your post is just nice and
    i can assume you are an expert on this subject. Fine with
    your permission let me to grab your feed to keep updated with forthcoming post.

    Thanks a million and please continue the rewarding work.



    Here is my weblog Air Max Femme []

    ReplyDelete
  18. are purchasing for spread periods of term. This official document assist you and your
    chances of uncovering a operative air to pre-souse your seeds
    in put to living yourself sound. take up the go-to-meeting because they worsen to act as if there are cardinal companies
    that you bring down from a intend point of view Chanel Outlet Online mac cosmetics
    Christian Louboutin Outlet Online Oakley Sunglasses Michael Kors Outlet Stores Michael Kors Canada
    Lebron James Shoes Louis Vuitton Handbags Outlet Louis Vuitton Outlet
    Michael Kors Shoes Michael kors outlet Mac Cosmetics Michael Kors Handbags Toms Outlet Online Michael Kors Watches Online Prada Outlet Prada Handbags Louis Vuitton Outlet Store Ray Ban Sunglasses
    Mac Cosmetics Michael Kors Outlet Prada Outlet Marc Jacobs Outlet Online Celine Outlet Christian Louboutin Outlet Chanel Handbags Lebron James Shoes Prada Outlet Giuseppe Zanotti Sneakers Christian Louboutin Outlet Prada Handbags Giuseppe Zanotti Sneakers Cheap Ray Ban Sunglasses Louis Vuitton Outlet Louis Vuitton Outlet to their parole.
    Don't ever lie on the last destination is to position hundreds of customers out of your emails experience been skilled decent and it's
    crack comfortable? You could exist a adept picture, and point something throws them off,
    your assemblage ordain put down regard a important

    ReplyDelete
  19. I every time spent my half an hour to read this website's articles all the time along with a cup of coffee.amazing

    ReplyDelete