| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|robots.txt syntax question|
Block access to specific file
I want to Disallow a specific file in a subdirectory beneath root - different sites I've looked at suggest:
Which one is correct to keep obedient spiders away from the file?
... you should specify the path under document root including that subdirectory, so your 3rd Disallow: is the correct one.
You may look at
for further details.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved