Quantcast
Viewing all articles
Browse latest Browse all 33069

Testerossa on "[Plugin: Wordfence Security] Wordfence affecting htpasswd?"

I saw in a thread that Wordfence might affect htaccess authentication: http://wordpress.org/support/topic/wp-admin-htpasswd-login-field-home-page?replies=5

Well, I'm currently trying to protect the wp-login.php with htaccess, but I also seem to be experiencing the problem of getting a password prompt on the front page of my site as a result. Unfortunately, I'm not too experienced with .htaccess (let alone how Wordfence might be affecting it), so any help addressing the problem would be a great help.

Here's the .htaccess file in the top level directory of my site:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# Protect wp-login
<Files wp-login.php>
AuthName "Private Access"
AuthType Basic
AuthUserFile /home/passwords/.htpasswd
require valid-user
</Files>

Any help is greatly appreciated, thanks very much!

https://wordpress.org/plugins/wordfence/


Viewing all articles
Browse latest Browse all 33069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>