403 error when trying to login/logout
-
I get a 403 error when I attempt to login/logout of my site. If I remove the htaccess file, I can login fine. If I just remove the following code, I also have no problems:
# BRUTE FORCE LOGIN PAGE PROTECTION # Protects the Login page from SpamBots & Proxies # that use Server Protocol HTTP/1.0 or a blank User Agent RewriteCond %{REQUEST_URI} ^(/wp-login\.php|.*wp-login\.php.*)$ RewriteCond %{HTTP_USER_AGENT} ^(|-?)$ [NC,OR] RewriteCond %{THE_REQUEST} HTTP/1\.0$ [OR] RewriteCond %{SERVER_PROTOCOL} HTTP/1\.0$ RewriteRule ^(.*)$ - [F,L]
I turned off “Login Security” and there isn’t anything in my custom code for Brute Force Login Protection. But when I recreate my secure.htaccess file, the brute force login code gets added again and then I can’t login.
Anything I can do about this? The only other security plugins I have installed are Wordfence and Sucuri, but when those are disabled the problem still occurs. I’ve looked at other forum posts and can’t find anything that will resolve this problem.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘403 error when trying to login/logout’ is closed to new replies.