Anti-Spam

Since updating to WordPress 3.9, D4Dâ„¢ was getting thrashed with spam comments – something that hasn’t happened for a long time. Nothing else changed, so I assume that there’s an issue somewhere within 3.9 that’s opened up again.

Anyway, having seen upwards of 200 spam comments per day, I asked around for some advice on other things to block it, and on Twitter Laura came through with a suggestion to use another plugin called WP Hashcash which I’ve done.

So far, it appears to be working very nicely, and I’ve not seen any more spam comments coming through at all. Definite win.

Of course, it may be that some valid comments get blocked too – if so, email me at lyle2 at the domain name…


2 Comments on “Anti-Spam”

  1. Pete says:

    I tried to post a comment with JavaScript disabled, and got the following error message:

    “This comment has been deleted by WP Hashcash”

  2. lyle says:

    Yep, that’s it ‘working’.

    It adds a javascripted form hash to each form, and if that’s not there on submission, assumes it’s a bot-generated visit, and deletes it.


Leave a Reply

Your email address will not be published. Required fields are marked *