Failed login attempts with .htaccess limited to my IP
-
Hi,
Adding the rules below to my .htaccess file stopped brute force password guessing attempts for a few weeks, but I am starting to see some come through again. Is there another way to get to the login page that I’m missing?
ErrorDocument 401 /mysite/index.php?error=404
ErrorDocument 403 /mysite/index.php?error=404RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^myiphere$
RewriteRule ^(.*)$ – [R=403,L]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.