问题原文
原帖链接 · rihekopo · CC BY-SA 3.0
I'm moving a site to a new domain, to a local tld. I already redirected everything successfully to the new domain, except the robots.txt. My question would be that is it needed to redirect the olddomain.com/robots.txt to newdomain.com/robots.txt with 301 redirect? Is there any common practice for this situation?
已采纳解答
原帖链接 · Goyllo · CC BY-SA 3.0
This is really interesting question, It took me few minutes to search official statement from gary tweet..
When Google see 404/30X status, then Google will ignore your robots.txt completely. It is like not having a robots.txt at all.
But if Google see 50X status or server side errors, then Google will stop crawling your site, because may be you're busy to configure your server.
So do not redirect your robots.txt or if you do then make sure you've block same thing in new site robots.txt
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
