RewriteEngine on # no spam RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC] RewriteRule .? http://www.siteadı.com%{REQUEST_URI}? [R=301,L]