We have a good comment on this thread, which we covered on May 15th, from Googler JohnMu:
Check out his comment at http://www.seroundtable.com/archives/017139.html#comment-929618
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
|||
![]() |
Highlighted by suzannah
Smarty, Ann. 2008. Insane SEO: Blocking Robots.txt from Being Indexed. Blog. Search Engine Journal. May 28. http://www.searchenginejournal.com/insane-seo-blocking-robotstxt-from-being-indexed/6961/.
Highlighted by suzannah
Highlighted by suzannah
The irony is that:
Highlighted by suzannah
According to the forum member:
At any rate, this does bring up the crazy question, how can you remove a robots.txt file from Google’s index? If you use robots.txt to block it, that would mean that googlebot should not even request robots.txt - an insane loop. And of course, you don’t use meta tags in a robots.txt file.
Interesting, isn’t it?
Highlighted by suzannah
Another board member suggested using an X-Robots-Tag in the HTTP header:
<FilesMatch “robots\.txt”>
Header set X-Robots-Tag “noindex, nofollow”
</FilesMatch>
Highlighted by suzannah
The solution looks pretty good and that’s also nice that SEOs started at last seeing value in the X-Robots-Tag which is vaguely used.
Another question is why on Earth you would need to block your robots.txt file from being indexed and ranked (a much easier solution would be removing the file completely). But that is not at all important in this case. The truth remains the same: webmasters should have and be aware of the ways to hide any of their pages from search crawlers or prevent it from appearing in SERPs.
Highlighted by suzannah
We have a good comment on this thread, which we covered on May 15th, from Googler JohnMu:
Check out his comment at http://www.seroundtable.com/archives/017139.html#comment-929618
@Barry : I can’t believe I missed it! I do check your blog daily… Thank you for pointing that out to me!
Ok, so two possible solutions:
1/ disallow robots.txt in robots.txt (which won’t prevent the bot to check it);
2/ use an X-Robots-Tag in the HTTP header
Highlighted by suzannah
Public Comment