Help creating a comment filtering script to stop spammers
-
My site gets an annoying amount of comment spambots. I’ve tried a number of plugins, which haven’t made much difference.
For a while, I had some luck using WordPress Hashcash, which filters comments with no referrer field — indicating they were made with a script that bypasses the form. However, that’s no longer working well, indicating spammers have figured out some way to spoof it.
A lot of the spam comments I get have an entry in the URL field, which definitely indicates they were made by a script; my comment form doesn’t include a field to let people enter a website. I was thinking I might be able to cut down the number of spam comments with some kind of function (in functions.php) to move new comments to the trash if the URL field is not a null set. However, I’m not a programmer and the syntax for that is beyond me.
Has anyone had any luck with this kind of script? Any suggestions?
- The topic ‘Help creating a comment filtering script to stop spammers’ is closed to new replies.