Welcome to WebmasterWorld Guest from 107.20.5.156

Forum Moderators: goodroi

Message Too Old, No Replies

Something a little different

     

futureX

6:30 pm on Mar 10, 2007 (gmt 0)

10+ Year Member



Is there any way to restrict acces to subdirectory of a main directory if the main directory will be dynamic. For example;

I have a mod_rewrite which produces URLs like this;
[domain.tld...]

sadly it also supplies the same content under;
[domain.tld...]

(where n i sthe id of the category the item was posted)

can i stop bots spidering dynamic-item-title/catid/?

I'm sure there's probably a mod_rewrite i could do to solve this too, but thats something i cant figure out lol

goodroi

1:56 pm on Mar 12, 2007 (gmt 0)

WebmasterWorld Administrator goodroi is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



you could use wildcards aka pattern matching. this is not part of the official robots.txt protocol but it is supported by most of the big spiders. it enables you to block any url that contains a certain string in it.

Google Pattern Matching Instructions [google.com]
Yahoo Wildcards Instructions [ysearchblog.com]
MSN Instructions [search.msn.com]

please note this is not supported by all spiders

 

Featured Threads

Hot Threads This Week

Hot Threads This Month