Wordpress droplet + Wordfence plugin opens .htaccess password prompt

Posted March 13, 2015 4.2k views

I installed Wordfence in my installation but now when accessing any page of the site it brings up the .htaccess/htpassword prompt that is preset in the Wordpress droplet. My problem is that the .htaccess in the /var/www contains no reference to an .htpasswd file. Is there another location that I should be looking in?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Yes. The default password prompt on Wordpress One-Click droplets is defined in a DirectoryMatch directive in /etc/apache2/apache2.conf If you remove the one which includes setting up authentication and restart apache with the command:

service apache2 restart

This should resolve the problem and remove the password prompt.