Page is a not externally linkable
- Search Engines
-- Search Engine Spider and User Agent Identification
---- Is this really a PlayStation 3


jdMorgan - 1:38 am on Apr 7, 2008 (gmt 0)


If you're looking for an Accept header that contains "text/html" then it might be better to leave the pattern unanchored, and be sure that if any characters preceded or follow the MIME_type, that they're the proper delimiters, and not additional characters:

RewriteCond %{HTTP_ACCEPT} [,\ ]?text/html[;,]? [NC]

The semi-colon is included in case there's a "preference weighting" value present, as in "text/html;q=0.8"

I also threw in an [NC] flag in case some user-agents use uppercase characters.

Jim


Thread source:: http://www.webmasterworld.com/search_engine_spiders/3619657.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com