Super Plugin Sale! Your Choice: BOGO or 30% Off »
Web Dev + WordPress + Security

Banhammer WordPress Plugin

[ Banhammer - Protect your site from enemy hordes! ]

Banhammer makes monitoring traffic and banning visitors crazy easy and fun. Say your forum is being harassed by some dirtbag. Or your admin directory is crawling with bad bots. Or some script kiddie is trying to brute-force your login page. Don’t just sit there and watch it happen.. drop the Banhammer on those fools and block them forever.

Pro version now available! Get Banhammer Pro »

Hammer the Enemy!

Banhammer gives you full control over who and what may access your site. Visit the Armory to monitor traffic and review suspicious visitors. If you find some user or bot that is causing problems, you can ban them with a click. Or, if you just want to keep an eye on someone, you can flag them with a warning. Any banned users will be denied access to your site, until you restore access.

Check out the video and screenshots to see Banhammer in action!

Plugin Features

  • Ban or Warn any WP user or IP address
  • Restore access to any banned targets
  • Monitor site traffic in the Armory
  • Manage banned targets in the Tower
  • Complete Ajax-powered navigation
  • Useful tools like jump, sort, search
  • Complete documentation via Help tab
  • Automatically clear logged data
  • Sound effects for Ban, Warn, et al

Options Galore

  • Optionally ignore logged-in users
  • Optionally protect Login Page and Admin Area
  • Customize the banned response and status code
  • Display banned message or redirect the request
  • Choose the interval to clear logged data
  • One-click restore plugin default options
  • All collected data may be deleted easily

More Features

  • Easy to use
  • Clean code
  • Fast and secure
  • Built with WP API
  • Lightweight and flexible
  • Works great with any WordPress theme
  • Works great with other WordPress plugins
  • Focused on usability, performance, and security


Check out some screenshots (click thumbnail to view full-size image).

[ Banhammer - Plugin Settings ]
Choose thy options!
[ Banhammer - Armory (Basic View) ]
Monitor site traffic
[ Banhammer - Armory (Advanced View) ]
Ban the bad guys
[ Banhammer - Banned Message ]
Default message displayed to banned targets
[ Banhammer - Tower ]
Visit the Tower to manage banned targets
[ Banhammer - Help Tab ]
Hit the Help tab for more information and tips!

Download & Documentation

Banhammer is perfect for site owners, admins, and developers who want to keep an eye on traffic and block any unwanted visitors. It is a simple, flexible, and powerful security solution. A perfect security solution for the best WP sites.

Banhammer Pro coming soon now available!

About the Author
Jeff Starr = Creative thinker. Passionate about free and open Web.
Blackhole Pro: Trap bad bots in a virtual black hole.

11 responses to “Banhammer WordPress Plugin”

  1. Nice plugin.

    My 2 cents: Why don’t you design the admin page the same UI as WordPress?

    • Thanks Anh. Most of my plugins use the WP UI, and in general it’s best to do so. But in this case, I had a specific vision in mind for the data sorting, with Ajax navigation, sound effects, and so forth. So it was necessary to go beyond the default WP UI for this particular plugin. And actually, everything except for the #banhammer container <div> is pure WP API. It’s quite elegant, please take a closer look.

  2. Jim Walker 2018/01/23 6:52 am

    Is country blocking an option as well?

  3. Look like a great plugin. Going to try it out.

  4. Jim S Smith 2018/01/27 3:46 pm


    That’s one for the “Toolbox”!

    I pretty much have been using an “outside of WordPress” solution for a while, but this makes for one an easier installation for most users.

    How very useful.

    – Jim

    • Jeff Starr 2018/01/27 4:49 pm

      Yeah thanks Jim, that’s the idea: something useful, simple, and even “fun” to use. Working on the pro version now, has a lot of great additional features. Cheers!

      • Jim S Smith 2018/02/06 12:43 pm

        As a curiosity,

        Any plans of incorporating the use of lists from StopForumSpam? I was thinking of adding that feature to my site-wide anti-hammering system, together with getting daily updates of StopForumSpam’s black-lists (automatically). I have noticed there are some IP’s that repeatedly try my security protocols.

        I typically set IP-based bans for twenty-four hours for most of them, and a few days for the worst offenders. This takes into account that some of these IP-addresses translate into proxy server addresses (which may change over the course of a few days).

        Oh and BTW:

        Being that not all of my site works only on WordPress, this is why I have a custom-coded solution. However, for those whose sites are rendered entirely by WordPress, this new plugin of yours should be a boon for them.

        Again, good going! :-)

        – Jim

      • Sounds like a great system!

        I may end up adding some automatic banning features to the plugin, but really it is designed for manually blocking unwanted visitors, users, et al. We’ll see what the future holds though, the possibilities are endless.

        Thanks for the feedback! :)

  5. bigdreamstheory 2018/03/15 8:26 am


    Is there the possibiltiy (in free or pro version) to ban users for a limited time (length that could be set for each user, for example if i want to ban a user 1 week, and another 1 day) ?

    Is it possible to create conditional, in order to have for example “3 warning = a ban”

    And a mix of both

    If not, is it something you could implement it ? I never found a plugin to manage ban this way.


    • Jeff Starr 2018/03/15 8:46 am

      Awesome ideas, I will see what I can do in future versions of Banhammer Pro. Thank you for the feedback.

Comments are closed for this post. Something to add? Let me know.
Perishable Press is operated by Jeff Starr, a professional web developer and book author with two decades of experience. Here you will find posts about web development, WordPress, security, and more »
GA Pro: Add Google Analytics to WordPress like a pro.
All free plugins updated and ready for WordPress 6.6 dropping next week. Pro plugin updates in the works :)
99% of video thumbnail/previews are pure cringe. Goofy faces = Clickbait.
Crazy that we’re almost halfway thru 2024.
I live right next door to the absolute loudest car in town. And the owner loves to drive it.
8G Firewall now out of beta testing, ready for use on production sites.
It's all about that ad revenue baby.
Get news, updates, deals & tips via email.
Email kept private. Easy unsubscribe anytime.