WordPress.org

Plugin Directory

Anti-spam

No spam in comments. No captcha.

What is the percentage of spam blocked?

Anti-spam plugin blocks 100% of automatic spam messages (sent by spam-bots via post requests). Plugin does not block manual spam (submitted by spammers manually via browser). You can use Anti-spam Pro plugin if you need to block manual spam.

Incompatible with:

  • Disqus
  • Jetpack Comments
  • AJAX Comment Form
  • bbPress

How does Anti-spam plugin work?

The blocking algorithm is based on 2 methods: 'invisible js-captcha' and 'invisible input trap' (aka honeypot technique).

How does 'invisible js-captcha' method (aka honeypot) work?

The 'invisible js-captcha' method is based on fact that bots does not have javascript on their user-agents. Extra hidden field is added to comments form. It is the question about the current year. If the user visits site, than this field is answered automatically with javascript, is hidden by javascript and css and invisible for the user. If the spammer will fill year-field incorrectly - the comment will be blocked because it is spam.

How does 'invisible input trap' (aka honeypot technique) method work?

The 'invisible input trap' method is based on fact that almost all the bots will fill inputs with name 'email' or 'url'. Extra hidden field is added to comments form. This field is hidden for the user and user will not fill it. But this field is visible for the spammer. If the spammer will fill this trap-field with anything - the comment will be blocked because it is spam.

How to know the counter of blocked spam comments?

You can find the info block with total spam blocked counter in the admin comments section. You can hide or show this info block in the "Screen Options" section. The visibility option for this info block is saved per user.

How to test what spam comments were blocked?

You may enable sending all rejected spam comments to admin email. Edit anti-spam.php file and find "$antispam_send_spam_comment_to_admin" and make it "true". Or you may log all blocked spam comments to log files. Edit anti-spam.php file and find "$antispam_log_spam_comment" and make it "true". Spam comments will be saved in the file: http://site.com/wp-content/plugins/anti-spam/log/anti-spam-2015-12.log (where "site.com" is the domain and "2015-12" is year and month). Spam log is stored in files per month and history will be saved for 1 year and older log files will be deleted automatically. These features are made for debug purposes and values for these flags will be overwritten after plugin's update. These features are disabled by default.

Does plugin block spam from Contact or other forms?

Plugin blocks spam only in comments form section and does not block spam from any other forms on site. If you installed and activated the plugin and you still receiving spam - probably this could be because of some other forms on your site (for example comments forms).

What about trackback spam?

Users rarely use trackbacks because it is manual and requires extra input. Spammers uses trackbacks because it is easy to cheat here. Users use pingbacks very often because they work automatically. Spammers does not use pingbacks because backlinks are checked. So trackbacks are blocked by default but pingbacks are enabled. You may enable trackbacks if you use it. Edit anti-spam.php file and find "$antispam_allow_trackbacks" and make it "true". You may read more about the difference between trackbacks and pingbacks.

What browsers are supported?

All modern browsers and IE8+ are supported.

Unobtrusive JavaScript

Anti-spam plugin works with disabled JavaScript. JavaScript is disabled on less than 1% of devices. Users with disabled JavaScript should manually fill catcha-like input before submitting the comment.

And one more extra note...

If site has caching plugin enabled and cache is not cleared or if theme does not use 'comment_form' action and there is no plugin inputs in comments form - plugin tries to add hidden fields automatically using JavaScript.

Not enough information about the plugin?

You may check out the source code of the plugin. The plugin is pretty small and easy to read.

Requires: 3.3 or higher
Compatible up to: 4.7
Last Updated: 1 week ago
Active Installs: 100,000+

Ratings

4.8 out of 5 stars

Support

2 of 4 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,4,4
100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 100,1,1 100,3,3 100,2,2 100,1,1 100,1,1
100,2,2 100,4,4
100,6,6 100,1,1
100,3,3 100,2,2
100,1,1 100,2,2 100,1,1
100,3,3 100,1,1
100,2,2 100,2,2 100,1,1
100,2,2 100,2,2
100,2,2
100,1,1
100,3,3
100,1,1 100,3,3
100,1,1 100,1,1
100,9,9 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 0,1,0 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,1,1 100,2,2
100,1,1 100,2,2 100,4,4
100,3,3
100,1,1
100,1,1
100,1,1
100,2,2
88,8,7 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1 100,1,1
100,2,2 100,2,2 100,5,5
100,2,2 100,1,1
100,3,3 100,1,1