4 replies
  • SEO
  • |
Hello

When doing a 301 redirect from Domain A to B (homepage only), I would like to prevent all links from Domain A being indexed in Google, what should I put in the robots.txt, how EXACTLY should the robots.txt look like?

Thanks in advance.
#question #robotstxt
  • Profile picture of the author MikeFriedman
    There is no way to do that. If you do the 301, the links pointing at Domain A pass to Domain B.

    If you don't want that to happen, don't do the 301.
    Signature

    For SEO news, discussions, tactics, and more.
    {{ DiscussionBoard.errors[7477010].message }}
    • Profile picture of the author etvconnect
      Originally Posted by MikeFriedman View Post

      There is no way to do that. If you do the 301, the links pointing at Domain A pass to Domain B.

      If you don't want that to happen, don't do the 301.
      Then why is that stupid **** from the GWT forum telling that I'm not redirecting properly. I really don't get it any more.
      {{ DiscussionBoard.errors[7477049].message }}
      • Profile picture of the author MikeFriedman
        Originally Posted by etvconnect View Post

        Then why is that stupid **** from the GWT forum telling that I'm not redirecting properly. I really don't get it any more.
        I have no idea what you are talking about.
        Signature

        For SEO news, discussions, tactics, and more.
        {{ DiscussionBoard.errors[7477077].message }}
  • Profile picture of the author samual james
    You want to do 301 redirection and prevent link juice transfer from domain A to B, then why you are using 301? You need to use 302 temporary redirect
    {{ DiscussionBoard.errors[7478272].message }}

Trending Topics