(.Htaccess) Is this 302 redirect correct?

by Thomas
0 replies
Hello Warriors:

Can anyone (more familiar with .htaccess than I) tell if the following will correctly redirect a visitor arriving via a Google search for "blue widgets" (or have I completely butchered things )?
RewriteCond %{HTTP_REFERER} search[^?]\?([^&]+&)*(as_q¦as_epq¦q¦p¦va¦what)=([^&+%]+(\+¦\%2b¦\%20))blue(\+¦\%2b¦\%20)widgets(\+¦ \%2b¦\%20)?
RewriteRule ^black-widgets\.html http://www.domain123.com/blue-widgets.html [R=302,L]
Regards,
Tommy.
#302 #correct #htaccess #redirect

Trending Topics