Plugin Author
apexad
(@apexad)
I have not tested the plugin in a multi-site environment. However, I’m also not sure why there would be an issue. I will try and look into this for you soon.
Hi Alex,
Thanks for the response. Since I don’t know what “should” be written to .htaccess from your plugin, I have included the code that appeared and caused the redirecting loop. I have had the plugin installed on the multisite probably since April. In August, we experienced not being able to login any of the sites because of a redirecting loop. We deleted the extra code from .htaccess but left your plugin activated. It worked fine for another month and then the same thing happened again. Again, I deleted the extra code and it is working. Unfortunately, without knowing what triggers this, it is a real problem. Other than that – I really like your plugin. Here is the code – hopefully it will give you a clue.
`# BEGIN Secure Login
<FilesMatch “wp-login.php”>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} !^.*wp-iphone.*$
RewriteCond %{HTTP_USER_AGENT} !^.*wp-android.*$
RewriteCond %{QUERY_STRING} !^action=rp&key=.*$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?findmynewpathclone.usingessentialoils.com [NC]
RewriteRule .* – [F]
</FilesMatch>
# END Secure Login