Question

Wordpress droplet + Wordfence plugin opens .htaccess password prompt

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.