Hey guys I want to implement a htaccess based redirection with modrewrite. goal is to rewrite the URL based on keywords in the referer string. for example: a visitiors searches for one of my ranked keywords "travel tips usa" on google.com. If he clicks on my site his referer would look like: now i want to redirect this to a subfolder based on the string "travel+tips+usa" for example: can someone help me?
RewriteCond %{HTTP_REFERER} ^*travel+tips+usa*\ RewriteRule (.*) http://www.mytravelsite.com/travel-tips-usa would something like this work out? it's too static and i didn't test it ...