Htaccess - Redirect Traffic 02.09.08
Alright, I need a script to redirect certain urls to a certain url. My problem is I have a webpage on my site that receives traffic from search engines. The page the traffic goes to is ok, but I want to redirect that search engine traffic to another url (another one of my websites) WITHOUT loosing my page rank or search engine rank! (IMPORTANT). Not sure if this is possible or not.
Basically, I want search bots to index the old page, while search traffic or users to go to the new url.
PM questions or concerns.
I have this code below, but its not quite what I want:
RewriteEngine on
RewriteCond %{HTTP_REFERER}!^http://(www\.)?allowed-site\.com [NC]
RewriteCond %{HTTP_REFERER}!^$
RewriteRule \.html$ http://www.new-website.com/ [R=302]
RewriteCond %{HTTP_USER_AGENT} googlebot [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Slurp [NC,OR]
RewriteCond %{HTTP_USER_AGENT} msnbot
RewriteRule \.html$ http://www.new-website.com/ [R=302,L]



