Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: goodroi
I mean I want to have one line of code in my robots.txt to include all my pages that have that pattern.
There is lots of artists:
Is there a way to do this with one line of code in the robots.txt, or should I give up looking? :p
Note that there can only be a single "/robots.txt" on a site. Specifically, you should not put "robots.txt" files in user directories, because a robot will never look at them. If you want your users to be able to create their own "robots.txt", you will need to merge them all into a single "/robots.txt". If you don't want to do this your users might want to use the Robots META Tag instead.
I read this as meaning you shouldn't expect any spider to ever look at robots.txt in subdirectories.
> I read this as meaning you shouldn't expect any spider to ever look at robots.txt in subdirectories.
You got it. Only /robots.txt ever gets requested.
The line required in the above example to do this is
Every directory below dir will not be indexed by standard compliant robots.