Welcome to WebmasterWorld Guest from 54.227.1.130

Forum Moderators: open

Message Too Old, No Replies

how to prevent directory from being indexed?

     

dan_popescu

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

Quinn

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

10+ Year Member



Disallow: /directory/

Quinn

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

10+ Year Member



and this should disallow specified bots from everything contained in that folder...

dan_popescu

10:04 pm on Dec 2, 2002 (gmt 0)

10+ Year Member



Thanks Quinn
 

Featured Threads

Hot Threads This Week

Hot Threads This Month