Contributors: GamerZ
Donate link: https://lesterchan.net/site/donation/
Tags: banned, ban, deny, denied, permission, ip, hostname, host, spam, bots, bot, exclude, referrer, url, referral, range
Requires at least: 4.3
Tested up to: 6.3
Stable tag: 1.69.1
Ban users by IP, IP Range, host name, user agent and referrer url from visiting your WordPress's blog.
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.
- Plugin icon by Dave Gandy from Flaticon
- 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.
- NEW: Fixed XSS
- NEW: Bump WordPress 4.7
- FIXED: Notices
- NEW: Use translate.wordpress.org to translate the plugin
- NEW: Use HTML DOCTYPE
- FIXED: Remove get_language_attributes()
- FIXED: Notices
- FIXED: Cannot redeclare get_language_attributes()
- NEW: Supports WordPress Multisite Network Activation
- NEW: Uses native WordPress uninstall.php
- NEW: Added a new ban option 'reverse proxy' to allow user to choose whether to check against HTTP_X_FORWARDED_FOR header for IP. Props Tom Adams at dxw. This fixes CVE-2014-6230
- FIXED: Notices
- FIXED: Use a different modifier for preg_match() and use preg_quote() to escape regex
- FIXED: Replace ereg() with preg_match()
- NEW: AJAX Preview Of Current Banned Message
- NEW: Added nonce To Form
- FIXED: Don't Process Ban If Any Of The Conditions Are Empty
- NEW: Added "Your User Agent" Details
- NEW: Uses jQuery Framework
- FIXED: Uses $_SERVER['PHP_SELF'] With plugin_basename(FILE) Instead Of Just $_SERVER['REQUEST_URI']
- NEW: Works With WordPress 2.7 Only
- NEW: Changed Ban Admin Setting Location To 'WP-Admin -> Settings -> Ban'
- NEW: Right To Left Language Support by Kambiz R. Khojasteh
- NEW: Called ban_textdomain() In ban_init() by Kambiz R. Khojasteh
- NEW: Use language_attributes() To Get Attributes Of HTML Tag For Default Template by Kambiz R. Khojasteh
- NEW: Works With WordPress 2.6
- FIXED: Do Not Ban If IP is "unknown"
- NEW: Uses /wp-ban/ Folder Instead Of /ban/
- NEW: Uses wp-ban.php Instead Of ban.php
- NEW: Uses number_format_i18n()
- NEW: IPs Listed In Ban Stats Is Now Sorted Numerically
- NEW: Banned By User Agents (By: Jorge Garcia de Bustos)
- FIXED: "unknown" IPs (By: Jorge Garcia de Bustos)
- NEW: Ability To Uninstall WP-Ban
- NEW: Moved Ban Options From ban.php To ban-options.php
- NEW: Banned By Referer URL
- NEW: Ability To Exclude Specific IPs From Being Banned
- NEW: Added Template Variables For User Attempts Count And Total Attempts Count
- FIXED: Suppress gethostbyaddr() Error
- NEW: Works For WordPress 2.1 Only
- NEW: Move ban.php To ban Folder
- NEW: Localize WP-Ban
- NEW: Added Ban Attempts Statistics In 'WP-Admin -> Manage -> Ban'
- NEW: Move Ban Tab To 'WP-Admin -> Manage'
- NEW: Added Toggle All Checkboxes
- FIXED: Main Administrator Of The Site Cannot Be Banned
- NEW: Initial Release
- Open
wp-content/plugins
Folder - Put:
Folder: wp-ban
- Activate
WP-Ban
Plugin - Go to
WP-Admin -> Settings -> Ban
to configure the plugin
- Deactivate
WP-Ban
Plugin - Open
wp-content/plugins
Folder - Put/Overwrite:
Folder: wp-ban
- Activate
WP-Ban
Plugin
N/A
- Admin - Ban
- Admin - Ban
- Admin - Ban
- Ban - Message
N/A