Okay, so even though things were working just fine, I went ahead and FTP’ed in there and downloaded the edited htaccess I had, which was working, and went to WP and did the automagic buttons again for secure htaccess file. Then I activated both /exampleblog root folder and wp-admin folder.
As expected, upon logging out I got the 403 error.
Then I removed:
# 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]
and “Head” from:
RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK|DEBUG) [NC]
And removed this:
# BuddyPress Logout Redirect
RewriteCond %{QUERY_STRING} action=logout&redirect_to=http%3A%2F%2F(.*) [NC]
RewriteRule . - [S=6]
Once I removed those items again, I changed permissions back to writeable in FTP, uploaded the edited htaccess again, refreshed WP and logged out–no problem.
I don’t think “Head” has anything to do with it.
It is one of the other two things, and I don’t think it is conflict with other plugins because this was working well with other plugins before the update.
And since this began to happen, I went into BPS>login security>Turn off/on>turn off login security (which I thought would remove that login related code that gets generated in the htaccess, but it didn’t).
Which is why I went in there and took that code off manually and that’s how I got the logout to function again.
PS–after you analyze the information I’ve provided, can you also let me know if my site is safe in spite of the code I’ve removed?
Thank you,
Jose