Recently we've notice allot of brute force attacks on our website. To make things more secure we decided to limit the access to the wp-login url to only a few , trusted IP addresses.

<Files wp-login.php>
        order deny,allow
        Deny from all
        allow from {IP-ADDRESS}

This works, and only allowed IPs are able to access this URL. However, we are still seeing brute force attacks trying to login.

To my knowledge the only way to log into wordpress is via wp-login.php, but if this is not reachable , then how can it be that login attempts are still being made?

Note that the WP Rest API is disabled (!)

Any ideas would but much appreciated!

1 Answer 1


ok, so it seems I overlooked a previous question asked here on stackexchange.

For anyone interested, the solution might be found here: brute force attack even though it is limited by IP

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.