How to change WordPress WP-ADMIN apache credentials?

  • Posted December 24, 2014


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
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.

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.