Defender is blocking all IPs

Defender is blocking out ALL IPs when it is active on the site. I tried to run a conflict test but the issue reappars right after re-activating it.
If having it active, it logs me out automatically. I tried using a different IP amd I¡m getting the same.

  • Nithin
    • Support Wizard

    Hi Stephen,

    Hope you are doing good today. :slight_smile:

    I tried to login via the WP admin login credentials given during the Live Chat, but it does't seem to work fine. Getting invalid username error:

    That's an odd behaviour, however it's pretty tough to say what's causing this without accessing the dashboard side. Could you please try adding the following code as a mu-plugins(must use plugins), and see whether it works fine?

    add_filter( 'ip_lockout_default_whitelist_ip', function ( $ips ) {
    $ip = 'YOUR IP HERE';
    $ips[] = $ip;
    return $ips;
    } );

    You'll have to replace the value for $ip = 'YOUR IP HERE'; in the above code with your IP address, for example: $ip = ''; etc

    Please check this article on how to implement the code a mu-plugins:

    Please let us know how that goes, and if you still have issue, please correct the WP admin login, and you can send credentials by using our secure contact form:

    - To Mark to my attention, the subject line should contain only: ATTN: Nithin Ramdas
    -WordPress admin username
    -WordPress admin password
    -login url
    -FTP credentials (host/username/password)
    -link back to this thread for reference
    -any other relevant urls

    Please do follow up in the ticket once you have sent the above credentials. Have a nice day. :slight_smile:

    Kind Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.