Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.


WP Spam Hitman allows you to fight with spam using set of patterns and hitpoints. It also allows you to decide what's going to happen to the spam

How do I set up rules?

You simply write rules in WP Spam Hitman options in Rules section. Every rule in seperate line. You can use words of regular expressions

Is one rule is one hitpoint

No - if your rule is for instance 'p0rn' it gets hitpoint every time Spam Hitman finds it in comment. So if the comment if 'p0rn p0rn and one more p0rn' - it gets 3 hitpoints.

How does the plugin know that I use word/regular expression

By default - every rule is a word. But if you start (and of course end) a rule with / or # character - it will be treated as regular expression. Small hint here - word rules work faster - so if you can write a rule as word(s) - do so.

Do I have to write words several times if they are case-sensitive?

No - words are case-insensitive so 'p0rn' will find 'p0rn' as well as 'P0rN'. On the other hand - regular expressions are case sensitive - so you have to use regex modifier (/i) in rule to match both - upper and lower cases.

How do the modes work?

  • Delete - simply deletes comment when it gets a number of hitpoints you have set up.
  • Moderation - puts comment into moderation list but doesn't send you mail so you can check it anytime you want (and not be pissed by new mails comming all the time).
  • Spam - it marks message as Spam. It is still in wordpress database but you cannot see it from admin panel.

I don't the spam message at all - how can I turn it of?

Go to WP Spam Hitman options and delete the message. If message is blank - WP Spam Hitman will not display it to spammer.

What are the best rules?

There are no "the best rules" - it depends on blog. For instance I have my blog written in Polish (well - mostly) so for instance some popular words in spanish - they probably spam. There are some trends, some popular spammer words/expressions. Most of your visitors will not tell you to 'enlarge your penis' and provide you with a link - so the rules could be 'enlarge' and 'penis'. If you're not sure your rules works - use options moderation for some time and check if all of the messages it caches are spam.

Can I use some other plugin with WP Spam Hitman

The short anwser is - yes. WP Spam Hitman should work well with other plugins - not only with the spam ones. On my blog I use Akismet, WP Gateway and WP Spam Admin - and they work just fine. If you find one which doesn't work - be sure to tell me about it and I will try to fix it. But please remember that WP Spam Hitman has high priority so if it will find spam and for instance - delete the comment - it will probably not go to other plugins!

Requires: 2.0.2 or higher
Compatible up to: 2.1
Last Updated: 9 years ago
Active Installs: 30+


0 out of 5 stars


Got something to say? Need help?


Not enough data

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