WP-Ban
by Lester Chan 3.6 (27 reviews)

WP-Ban

Ban users by IP, IP range, host name, user agent and referrer URL from visiting your WordPress blog.

WP-Ban ranks #2,385 among WordPress.org plugins with 8,000+ active installations, is #77 of 1,982 in the Analytics category, a 3.6/5 rating from 27 reviews, and was last updated Aug 9, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 7 (Current: 7.1)
v2.0.0 Current Version v2.0.0
Updated 1 month ago Last Update on 09 Aug, 2026
Refreshed 15 hours ago Last Refreshed on
#77 of 1,982 in Analytics Top 5% by installs Downloads -19.4% this week
View on WordPress.org
Rank
#2,385
+1 this week
Active Installs
8K+
-9.5%
KW Avg Position
19.2
0.2 better
Downloads
325.7K
+22 today
Support Resolved
0%
No change
Rating
72%
Review 3.6 out of 5
3.6 (27 reviews)

Next Milestone 9K

Total Progress 78.4%
8K+ 9K+
55
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 216 more installs to reach 9K+

Rank Changes

2,262 2,323 2,384 2,444 2,505 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
2,262 2,323 2,384 2,444 2,505 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
Current #2,385
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

20 30 40 50 60 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
20 30 40 50 60 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026 17-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

3.6
27 reviews
Overall 72%
5
16 (59%)
4
2 (7%)
3
0 (0%)
2
2 (7%)
1
7 (26%)

Security History

Source: WPVulnerability

4 known vulnerabilities on record · 0 in the last 24 months · checked 4 days ago

  1. WP-Ban [wp-ban] < 1.69.1 (closed)

    CVE-2022-4631 · Fixed in v1.69.1

  2. WP-Ban [wp-ban] < 1.64 (closed)

    CVE-2021-4252 · Fixed in v1.64

  3. WP-Ban [wp-ban] < 1.69.1 (closed)

    CVE-2022-4260 · Fixed in v1.69.1

  4. WP-Ban [wp-ban] < 1.64 (closed)

    CVE-2014-6230 · Fixed in v1.64

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site administrators who want to block unwanted visitors from accessing their blog. It bans users by IP, IP range, host name, user agent, or referrer URL, showing a custom message to banned visitors while tracking their visit attempts.

  • Ban by IP address
  • Ban by IP range
  • Ban by host name
  • Ban by user agent
  • Ban by referrer URL
  • Custom ban message display
  • Exclude IPs from banning
  • Wildcard matching support

Frequently Asked Questions

Common questions about WP-Ban

Nowhere — they were moved, not lost. WP-Ban used to keep its settings in eight separate rows in the options table, under names with no plugin prefix on them at all. 2.0.0 consolidates them into one row called wp_ban_options. The move runs automatically the first time an administrator loads wp-admin after the update, and it also repairs two long-standing storage faults on the way through (see the changelog). An IP range I entered was rejected A range must be two valid addresses of the same type, separated by a hyphen, with no wildcards — 192.168.1.1-192.168.1.255 or 2001:db8::1-2001:db8::ffff. Anything else is refused at save time and the screen says which entry it dropped. Before 2.0.0 a malformed range was accepted and then matched every visitor, so if you had one stored, everybody was being banned.
%SITE_NAME%, %SITE_URL%, %USER_IP%, %USER_HOSTNAME%, %USER_ATTEMPTS_COUNT% and %TOTAL_ATTEMPTS_COUNT%. Your message must sit inside <div id="wp-ban-container"></div> so the preview button can find it.
Three rows: wp_ban_options for the settings, wp_ban_version for the version it last ran, and wp_ban_stats for the attempt counters. Only the first two are autoloaded. Deleting the plugin from the Plugins screen removes all three, and every pre-2.0.0 row as well.

More plugins by Lester Chan

Sign In / Register

You need to sign in or register to use this feature.