Mod Rewrite - url rewriting
- by modrewriteNewbie
I am very new to mod rewrite. I need to redirect any user with "citzenhawk" parameter in their url to my url
for example
http://www.mywebsite.com/?sc=CX12N003&cm_mmc=affiliate--citizenhawk--nooffer-_-na&prfc=5&clickid=0004c845fa9a87050a4277221a003262
should result into
http://www.mywebsite.com/
Here are my rewrite conditions:
RewriteCond %{QUERY_STRING} (&|^)cm_mmc=(.)citizenhawk(.)(&|$)$
RewriteRule ^/rrs/ [NC,R=302,L]
Where am I going wrong? Is my RewriteCond wrong?