stop spammers using ?ref=domain.com
-
I have read about how to stop referer spam, and my website is suffering from Tiklasana.Net and arabulursun.net (spammers).
But I want to add a rewrite rule for all those spammers who use ?ref term. I dont have any affiliation or any referer website. So I want to redirect all urls which start with mydomain.com/?ref=something or mydomain.com/mycatergory/?ref=something
I tried to add url redirects such as
redirect 301 /?ref=Tiklasana.Net http://www.mydomain.com
redirect 301 /?ref=arabulursun.net http://www.mydomain.com
redirect 301 /?ref=Tiklasana.Net%20Arama http://www.mydomain.combut it did not work. I think question mark and equal characters may have different reprezentations when writing redirect rules.
I also looked at anti-referer spam plugins, but I think htaccess is easy, because plugings need to modify php files, and you have to do it when you upgrade wordpress.
The topic ‘stop spammers using ?ref=domain.com’ is closed to new replies.