Wordpress droplet + Wordfence plugin opens .htaccess password prompt

March 13, 2015 1k 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?

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.

Have another answer? Share your knowledge.