Welcome to WebmasterWorld Guest from 54.158.228.55

Forum Moderators: open

Message Too Old, No Replies

how to prevent directory from being indexed?

     
9:57 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



I just made a robots.txt file for my site. I've included a few files that I don't want indexed. How do I include an entire directory in robots.txt? I know the syntax for files is "disallow: file.htm". Is the syntax for an entire directory (and its content) the same: "disallow: directory"?

Thanks
Dan

9:59 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



Disallow: /directory/
9:59 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



and this should disallow specified bots from everything contained in that folder...
10:04 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



Thanks Quinn
 

Featured Threads

Hot Threads This Week

Hot Threads This Month