HTACCESS blocking wp-admin and login.php yes still accessed
-
Hi,
Apache/CentOS install. Due to increase attacks I locked down the login.php and /wp-admin/ using htaccess for all but one IP. Testing it using a VPN it works – trying to access admin gets a 404 page.
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR] RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$ RewriteCond %{REMOTE_ADDR} !^XX\.XXX\.XX\.XXX$ RewriteRule ^(.*)$ - [R=403,L] </IfModule>
But I continually get below from WordFence, I also see the blocked IP in the Live Traffic tab.
====
A user with IP address XXX.XXX.XXX.XX has been locked out from signing in or using the password recovery form for the following reason: Used an invalid username ‘XXXXXX’ to try to sign in.
====
Any ideas how this could happen?Thank you,
DaveedThe page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘HTACCESS blocking wp-admin and login.php yes still accessed’ is closed to new replies.