Forum Moderators: Robert Charlton & goodroi
Screenshot 2: Google search resultsYes, but what search did you perform in order to get those results to come up? If I search for "cats", search results will not include every robots.txt in the world that mentions a directory called /cats/.
<FilesMatch "\.(js|txt|xml)$">
Header set X-Robots-Tag "noindex"
</FilesMatch>or equivalent if you're not on Apache. (This is an actual rule that I have, though I wasn't especially thinking of robots.txt when I made it.)