homepage Welcome to WebmasterWorld Guest from 54.234.231.49
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library : Charter : Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Something a little different
futureX




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved