Forum Moderators: open

Message Too Old, No Replies

htaccess and cloaking

         

ChrisM

11:04 pm on Feb 4, 2003 (gmt 0)

10+ Year Member



Hello,
I am trying to use cloaking to redirect the spiders to different pages. Is this the way to do it?

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^Email* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Extractor* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*NEWT [OR]
RewriteCond %{HTTP_USER_AGENT} ^Crescent* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Cherry* [OR]
RewriteCond %{HTTP_USER_AGENT} ^NICErs* [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebBandit* [OR]
RewriteCond %{HTTP_USER_AGENT} ^WiseWire* [OR]
RewriteCond %{HTTP_USER_AGENT} ^URLMenu98* [OR]
RewriteCond %{HTTP_USER_AGENT} ^EchO!* [OR]
RewriteCond %{HTTP_USER_AGENT} ^MSFrontPage* [OR]
RewriteCond %{HTTP_USER_AGENT} ^NaviPress* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Slurp* [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mozilla.*FrontPage* [OR]
RewriteCond %{HTTP_USER_AGENT} ^SpaceBison*
RewriteRule ^.*$ /keywords.html [L]

How can I get a list of all the bots and how effective is it?

Kind regards,

Chris

andreasfriedrich

11:28 pm on Feb 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have a look at Cloaking Gone Mainstream [webmasterworld.com] to learn more about what might constitute cloaking and the different methods to serve content depending on different parameter in the request header.

There are hundreds of threads on mod_rewrite available as well.

Andreas