Comment about:  Webmaster Tips: Blocking Selected User-Agents
.
January 31, 2010

RE: Webmaster Tips: Blocking Selected User-Agents

@Jesse: mod_rewrite is your friend

If you're already tweeking .htaccess, I'm guessing you're running under Apache.  If so, do a little reading about mod_rewrite--you can write rules based on just about any aspect of a request that deflect slime balls however you wish.

I'd also recommend moving the rules out of .htaccess, which is read for every request, and into an Apache config file, which is read only when Apache starts up.


Syndication OptionsRSS (Rich Site Summary) Feed Atom Feed OPML (Outline Processor Language) Feed MYST-ML (MyST Markup Language) Content Feed MS-Office Smart Tag Subscription