Question

How to change WordPress WP-ADMIN apache credentials?

Hello,

After being frustrated with the whole process of configuring droplets I think I’m finally starting to get an idea of how different commands impact performance and accessibility.

I used the WordPress 1 click install and I would like to keep the extra WP-ADMIN authentication, but I have no idea how to change the username and password. It’s pretty easy to find out how to deactivate this security measure, but not much info on how to embrace it. I appreciate any help from the community.


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.

These credentials are located in an .htpasswd file indicated in the DirectoryMatch directive. The htpasswd command can be used to generate a new password file.