I need to redirect TECHNORATIBOT via htaccess, but I suck so bad at manipulating that file that i'm hopelessly lost. Let's say my site is mysite.com. The homepage is mysite.com/home.php When TECHNORATIBOT visits mysite.com or mysite.com/home.php, I want to redirect it to mysite.com/index.php. Would someone be able to show me the htaccess lines needed to do that? Thank you.
I forgot to mention that TECHNORATIBOT is the User Agent, so my redirect would have to be based upon that. Thank you again.
RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^TECHNORATIBOT RewriteRule ^home.php$ http://www.mysite.com/index.php$1 [L,R=301] Code (markup): I think this should do the trick
I just tried your script. Yes, it worked perfectly. I just sent my pittance of green your way. Thanks again.