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


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.

Zrzuty ekranów

  • Settings page.


  1. Install IP BAN either via the plugin directory, or by uploading the files to your server
  2. Aktywuj wtyczkę w WordPressie w menu ‚Wtyczki”
  3. That’s it. You’re ready to go!



Installation Instructions
  1. Install IP BAN either via the plugin directory, or by uploading the files to your server
  2. Aktywuj wtyczkę w WordPressie w menu ‚Wtyczki”
  3. That’s it. You’re ready to go!


Works. Simple and lightweight plugin.

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.

5 stars

Good work team! It is exactly what i needed and you made a great job with it! Thank you!

Works and is very easy to use

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.
Przeczytaj 8 recenzji

Kontrybutorzy i deweloperzy

„IP Ban” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.


Przetłumacz wtyczkę “IP Ban” na swój język.

Interesuje cię rozwój wtyczki?

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

Log zmian


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


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


  • Fix: Warning: Missing argument 2 for wp_kses() error message (2 posts) –


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


  • [Test] WordPress 4.0


  • [Test] WordPress 3.9.1


  • Fix: Notice: Undefined index: submit in ip-ban.php on line 37 –
  • Tested with 3.8.1


  • Fix: Too many redirects –


  • Update for WordPress 3.8


  • Update for WordPress 3.5.1


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


  • Update readme.txt.


  • First version.