Report this

What is the reason for this report?

Wordpress droplet + Wordfence plugin opens .htaccess password prompt

Posted on March 13, 2015

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.