Mobile app version of vmapp.org
Login or Join

Login to follow query

More posts by @Ogunnowo487

2 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

While it's not part of the standard robots.txt protocol (and therefore not globally recognized), Google and Bing both support LIMITED pattern matching.

For example:

User-agent: Googlebot
Disallow: /private*/


Will block Googlebot from any directory beginning with "private". Currently, Googlebot supports * and $ (end of string).

Details on Googlebot's pattern matching: www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449

10% popularity Vote Up Vote Down


 

@Margaret670

No, the robots.txt syntax only supports wildcards, and not regular expressions. See here for a good discussion of the syntax: www.robotstxt.org/robotstxt.html.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme