PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. Ban
  4. WP-Ban
WP-Ban icon

WP-Ban

Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.

By Lester Chan·Ban·Free
3.7(27 reviews)
·9.0K+ active installs·Updated 1 year ago
DownloadVisit HomepageCompare

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….

3.7/527 reviews
9.0K+active installs
325K+total downloads
19 yearssince 2007

Overview

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.

Development

  • https://github.com/lesterchan/wp-ban

Translations

  • http://dev.wp-plugins.org/browser/wp-ban/i18n/

Credits

  • Plugin icon by Dave Gandy from Flaticon

Donations

  • I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.

Upgrading

  1. Deactivate WP-Ban Plugin
  2. Open wp-content/plugins Folder
  3. Put/Overwrite: Folder: w…
Read full description on WordPress.org

Screenshots

Ratings & Reviews

3.727 reviews
5 ★
16
4 ★
2
3 ★
0
2 ★
2
1 ★
7

Recent Reviews

Can’t get it to do anything
by hugrat·5 years ago

Probably one of those ban plugins that don’t work if you do not have the exact default wordpress login.
Bummer..

nice tool
by kapaemtarik·5 years ago

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

It works!
by luckyjo·9 years ago

Love your hardwork!

Doesn’t work, for whatever reason
by jonrolph·9 years ago

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.

Maybe it works, but definitely slows everything down
by d-phrag·10 years ago

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

Download Trends

Today: 12Yesterday: 23This week: 109Period total: 12K

Compatibility

WordPress4.3+ requiredTested up to 6.5.8
PHPfalse+ required

Version Adoption

v1.69
95.3%
Other
4.8%

Top Alternatives to WP-Ban

Banhammer – Monitor Site Traffic, Block Bad Users and Bots icon
Banhammer – Monitor Site Traffic, Block…
4.41.0K+ installsUpdated 1 week ago
ViewCompare
IP Ban icon
IP Ban
090 installsUpdated 15 years ago
ViewCompare
Admin Country Allowlist icon
Admin Country Allowlist
080 installsUpdated 4 months ago
ViewCompare
Country Block – Ultimate Geo-Blocker, IP Ban & Login Security icon
Country Block – Ultimate Geo-Blocker…
550 installsUpdated 1 month ago
ViewCompare
Wp Restricted icon
Wp Restricted
040 installsUpdated 7 years ago
ViewCompare
View all ban plugins →

Frequently Asked Questions

Changelog

Version 1.69.2

  • NEW: Don’t allow to access ban-options.php directly

Version 1.69.1

  • NEW: Fixed XSS

Version 1.69

  • NEW: Bump WordPress 4.7
  • FIXED: Notices

Version 1.68

  • NEW: Use translate.wordpress.org to translate the plugin
  • NEW: Use HTML DOCTYPE
  • FIXED: Remove get_language_attributes()

Version 1.67

  • FIXED: Notices

Version 1…

View full changelog on WordPress.org

Contributors

Lester ChanLester Chan
Plugin Info
Version
1.69.2
Last Updated
Mar 9, 2025
WP Requires
4.3+
Tested Up To
6.5.8
PHP Requires
false+
Active Installs
9.0K+
Downloads
325K+
Added
Jan 21, 2007
Business
Free

Tags

bandenybanneddeniedpermission

Developer

L
Lester Chan
20 plugins0.9M+ total installs
View all plugins →

Quick Compare

WP-Ban vs Banhammer – Monitor Site Traffic, Block…→WP-Ban vs IP Ban→WP-Ban vs Admin Country Allowlist→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.