Support » Plugin: WP-Ban » I accidentally banned my IP. How to unban it?

  • Resolved maginci

    (@maginci)


    Hello,

    I’m aware of how lame it may sound but I just banned my own IP and I need a way to undo that. Could you help me please?? Thank youu

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Lester Chan

    (@gamerz)

    go to wp_options, find the meta_key with the name “banned_ips” and removed it.

    Thank you. There wasn’t a meta_key with banned_ips in my wp_options but I solved the problem following this post:

    joel3 (@joel3)
    3 years ago
    There is another way that does not involve having to delete all your banned IP addresses.

    Edit the file wp-ban.php

    At line 200 you will see
    echo $banned_message;
    exit();

    change this to
    echo $banned_message;
    return;
    exit();

    Save the wp-ban.php

    Go to the BAN admin menu and take out your own IP address.

    Then edit the code back to read:

    echo $banned_message;
    exit();
    Save the wp-ban.php

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I accidentally banned my IP. How to unban it?’ is closed to new replies.