Robots.txt question

by 4 replies
5
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.
#search engine optimization #question #robotstxt
  • 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.
    • [1] reply
    • Then why is that stupid **** from the GWT forum telling that I'm not redirecting properly. I really don't get it any more.
      • [1] reply
  • 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

Next Topics on Trending Feed

  • 5

    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?