WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-Ban

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

Version 1.62 (12-03-2013)

  • FIXED: Use a different modifier for preg_match() and use preg_quote() to escape regex

Version 1.61 (11-03-2013)

  • FIXED: Replace ereg() with preg_match()

Version 1.60 (23-05-2012)

  • NEW: AJAX Preview Of Current Banned Message
  • NEW: Added nonce To Form
  • FIXED: Don't Process Ban If Any Of The Conditions Are Empty

Version 1.50 (01-06-2009)

  • 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']

Version 1.40 (12-12-2008)

  • 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

Version 1.31 (16-07-2008)

  • NEW: Works With WordPress 2.6
  • FIXED: Do Not Ban If IP is "unknown"

Version 1.30 (01-06-2008)

  • 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)

Version 1.20 (01-10-2007)

  • NEW: Ability To Uninstall WP-Ban
  • NEW: Moved Ban Options From ban.php To ban-options.php

Version 1.11 (01-06-2007

  • 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

Version 1.10 (01-02-2007)

  • 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

Version 1.00 (02-01-2007)

  • NEW: Initial Release

Requires: 2.8 or higher
Compatible up to: 3.9.1
Last Updated: 2014-4-17
Downloads: 130,081

Ratings

4 stars
4.2 out of 5 stars

Support

3 of 3 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
2 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,3,3
100,1,1
0,1,0
50,4,2
78,9,7
60,5,3
56,9,5
0,1,0
0,1,0
33,3,1
0,1,0
50,2,1
0,1,0
50,2,1
33,3,1
0,1,0
100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,1,1
50,2,1
100,2,2
100,1,1
50,4,2