Support » Plugin: IP Ban » [Plugin: IP Ban] Plugin blocked my admin access even though my IP was not on the ban list

  • Resolved jamiewilson


    I put a single IP address into the ban list and the app kept redirecting me to the ban page. Since my IP was being “banned” without being on the list, I assume every visitor to the site was also being redirected to the ban page. I wasn’t even able to get into the admin page to disable the plugin. Fortunately, the site is part of a multisite installation, so I was able to use my network administration access to edit the plugin source code and force it to allow all IPs long enough for me to disable and remove the plugin.

    At the very least, the plugin should not ban logged-in administrators under any circumstances.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sandor Kovacs


    This is the main role of the plugin to block everyone from a given IP or User Agent. I tested many times the plugin and it doesn’t ban you just if you are in the list.

    Only take care for local instance, if you put in the ip ban list you can’t access your admin anymore.

    If you are banned you can disable the plugin:

    • via FTP, delete the plugin from plugins/
    • via DB, remove the following options: s_ip_list, s_ua_list

    Thanks for the idea, I’ll will add a possibility to not ban logged-in administrator.

    On further investigation, I discovered the problem–and it has nothing to do with your plugin. The problem I was having is due to the quirky way the webserver is setup and the fact that it assigns me an “internal” IP address on the intranet rather than my actual “outside” IP.

    Please accept my apologies for reporting a bug that doesn’t exist. Unfortunately, the WordPress forums aren’t sophisticated enough for me to be able to delete or at least edit my original post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: IP Ban] Plugin blocked my admin access even though my IP was not on the ban list’ is closed to new replies.