I'm using robots.txt
files to prevent crawlers crawling specific pages. When I want to prevent crawling everything in myfolder
in /folder/myfolder/
can I put robots.txt
in /folder/myfolder/robots.txt
and write:
User-agent: *
Disallow: /
or will I have to put robots.txt
in /robots.txt
and set:
User-agent: *
Disallow: /folder/myfolder/
Who knows that?