.htaccess

# ref li bağlantılar için no spam
RewriteCond %{THE_REQUEST} \?(ref=.*)?\ HTTP [NC]
RewriteRule .? http://www.domain.com? [R=301,L]