ZigPress

consultancy · solutions · research

ZigTrap adds a hidden field to your comments form, which humans will leave empty because they don’t know it’s there. Spam bots, however, will normally enter some content in it, and this springs the trap, causing WordPress to show a message and not save the comment at all.

This is known as the “honey trap” or “honey pot” technique of spam prevention. Use this plugin in conjunction with Akismet for a pretty solid spam prevention package. I use it in place of a CAPTCHA test, (CAPTCHAs are a usability disaster and universally hated).

Please ensure that the comments form in your theme calls the ‘comment_form’ action.

ZigTrap is a free ZigPress plugin released under the GNU General Public License version 2. It is provided as-is, without any support or warranty, though if you have a problem, please leave a comment below and we’ll look into it when we can. If you make a donation, we’ll prioritise your request.

Download this plugin now! Make a Donation

10 Comments

  1. I just happened upon your ZigTrap WordPress plugin. I’ve installed it but have yet to activate it as the website is new, even though it has been in use by different owners since (as best I can tell) the late 90s.

    I’m not writing you to talk about my site though. I wanted to sincerely thank you for what looks like an incredible anti-spam plugin. I imagine that using it in conjunction with Akismet will allow me to make the comments section of my site more accessible to my users.

    I’m fairly certain of the answer to this question already but let me ask anyway. Do you know, or could you tell me how much of a load ZigTrap puts on the server? My guess is that it’s minimal but thought I’d ask anyway.

    Once again, thanks for a great tool and as soon as I, hopefully, make some money I’ll be making a donation to your site. I believe in paying (though you don’t charge) for useful tools and yours looks like it will be very useful.

    If you have any interest in checking out my site I’d like to say you’ve got an open invitation.

    Cheers,
    PunxUnite

    P.S. Sorry for the long post.

  2. Hi,

    I’m running WP 3.1 and get the error below when trying to activate the plug in:

    “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /home/content/d/o/u/xxxxx/html/wordpress/wp-content/plugins/zigtrap/zigtrap.php on line 40″

    Not sure why this is, this looks like a great plugin which I would like to get working.

    Thanks,

    Doug.

  3. Looks like your server is running PHP4. ZigTrap requires PHP5, as do all ZigPress plugins. PHP4 is dead.

  4. Andy, Thanks that fixed it.

  5. Excellent work and a simple but very effective trick, stops lots of spam and the the captcha gets the rest.

  6. Where can you view the spam it catches? I can’t seem to find it

  7. Go to the admin Dashbaord page and look at the bottom of the “Right Now” box.

  8. …this is a really cool application. It’s been a couple of weeks that I installed ZigTrap, and…..it works as advertised. Good job, you guys at ZigPress….I am totally impressed….!!!

  9. Works! Thank you – I was looking for something like this for weeks to help on a site being deluged by comment spam. Since I installed it about 10 days ago it has picked up about 80% of spam comments.

    (Working on WP 3.5 alongside Woocommerce.)

  10. Excellent work and a simple but very effective trick, stops lots of spam and the the captcha gets the rest.

Add a Comment