Code: Alles auswählen
RewriteEngine On
#The next lines check for Robots and redirect them to a fake page
RewriteCond %{HTTP_USER_AGENT} ^Goggle [OR]
RewriteCond %{HTTP_USER_AGENT} ^Goggle/0.1 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot-Image [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot-w/2.1 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot/1.0 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot/2.0 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot/2.0\ beta [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot/2.1 [OR]
RewriteCond %{HTTP_USER_AGENT} ^Googlebot/2.1w
RewriteRule ^.*$ bot.html [L]
Aber der bleibt im Forum, obwohl er mit "Googlebot/2.1" in den Logs steht
Wo liegt der Denkfehler?