This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

IP Ban

Description

UPDATE1: For the admin user the plugin it’s not active.

UPDATE2: Added Ip Range feature for ip list.

IP Ban is a security plugin, protects your site accessing from unwanted ip addresses or user agents. You can add ip addresses or user agents creating your own black list.

It also good to protect your site from unwanted crawlers, which uses your resource and bandwidth. Just add an ip address or user agent and things will happened.

After the plugin activation, in the SETTINGS menu you’ll see the Simple IP BAN submenu. Here you have 3 textareas:

  1. Add ip address or range here.

  2. Add user agents here.

  3. Define external url . All spammers will be redirected to this url.

Screenshots

  • Settings page.

Installation

  1. Install IP BAN either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it. You’re ready to go!

FAQ

No FAQ.

Installation Instructions
  1. Install IP BAN either via the WordPress.org plugin directory, or by uploading the files to your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it. You’re ready to go!

Reviews

October 15, 2017
I previously rated this plugin as 1 star because it locked me out of my own website. It turns out, it was because I was on the wrong Wi-Fi network. Now that I got it to work, I am giving it 5 stars. A simple and lightweight plugin and it is exactly what I was looking for to ban IP addresses.
December 24, 2016
Good work team! It is exactly what i needed and you made a great job with it! Thank you!
September 3, 2016
The simple ip ban is purely simple. Very easy to understand. You just type the ip you want to ban and that very ip get banned. No criteria, filters or anything complicated. You just need something like limit-login-attempts-like widget or tool or whatever to find those suspicious ip. Then you type those ip to block them from attempting to login your site again.
Read all 9 reviews

Contributors & Developers

“IP Ban” is open source software. The following people have contributed to this plugin.

Contributors

Translate “IP Ban” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.0

  • [Test] WordPress 4.7
  • [Fix] Plugin may not ban well on all hosting providers and on wide ranges of IP
    (like 125.80.0.0 125.87.255.255), due to the fact that ip2long can return negative values in some cases.
    (Reported by Fernando)
  • [Test] WordPress 4.4.1

1.2.6

  • [Test] WordPress 4.3.2
  • [Test] WordPress 4.3.1
  • [Test] WordPress 4.3.0
  • [Test] WordPress 4.2.1

1.2.5

  • Fix: Warning: Missing argument 2 for wp_kses() error message (2 posts) – https://wordpress.org/support/topic/warning-missing-argument-2-for-wp_kses-error-message

1.2.4

  • Add CSRF protection and sanitize user input
  • [Test] WordPress 4.0.1

1.2.3

  • [Test] WordPress 4.0

1.2.2

  • [Test] WordPress 3.9.1

1.2.1

  • Fix: Notice: Undefined index: submit in ip-ban.php on line 37 – https://wordpress.org/support/topic/notice-undefined-index-submit-in-ip-banphp-on-line-37
  • Tested with 3.8.1

1.2.0

  • Fix: Too many redirects – https://wordpress.org/support/topic/too-many-redirects-22

1.1.8

  • Update for WordPress 3.8

1.1.1

  • Update for WordPress 3.5.1

1.1.

  • Add IP Range to the banned IPs list. ex: 82.11.22.100-82.11.22-177
  • For Admin user it’s not active
  • Added checkbox: enable / disable redirection for logged in users ( others than admin )

1.0.1

  • Update readme.txt.

1.0

  • First version.