Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
As of April 2026, WP-Ban is a WordPress ban plugin with 9.0K+ active installations and a 3.7/5 rating from 27 reviews. It has been downloaded 325K+ times in total. Requires WordPress 4.3+ and PHP false+. Available on WordPress.org since 2007. Last updated 1 year ago — may have compatibility concerns. Downloads are up 14% this week. Top alternative: Banhammer – Monitor Site Traffic, Block….
It will display a custom ban message when the banned IP, IP range, host name or referrer url that tries to visit you blog. You can also exclude certain IPs from being banned. There will be statistics recorded on how many times they attempt to visit your blog. It allows wildcard matching too.
WP-Ban Pluginwp-content/plugins FolderFolder: w…Probably one of those ban plugins that don’t work if you do not have the exact default wordpress login.
Bummer..
I have been searching for a tool to get rid of robot users and their advertising comments at my site’s comment section. This extension worked. It successfully blocked 48 entry from 8 different ip adress within one day.
Thanks for providing it
Love your hardwork!
For whatever reasons, I cannot get this plugin to work. I’ve tried banning both an entire IP range, as well as each IP within that range and I am still receiving visitor reports stating that my site is receiving visitors from that range.
Not sure if this actually works, but it slowed my admin operations to a very annoying speed. I would rather de-install this one. Sorry
| WordPress | 4.3+ requiredTested up to 6.5.8 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.