I need a few lines that look for a specific keyword in the referer and if found, redirect to a specified website. Example: Visitor comes to my website while searching for "sushi" on google. Visitor is redirected to mysite.com/japan.html Paying $10 on paypal for the first one to send me some working lines. (Please note, I'll send immediately but it will be a bank-transfer so it will take 3-4 days).
I could do a PHP script (on first landing page) which does what you need and will be easily modifiable..... You have a PM.....
Alright since I have found it by myself here's the code (in case anyone else needs it): RewriteCond %{HTTP_REFERER} [?+&]?keyword[?+&]? [NC] RewriteCond %{REQUEST_URI} !^([^/]+/)*[^/.]+\.[^/.]+$ RewriteRule .* http://www.whatever.com/wherever/yoursite.html [R=302,L]