Login failure on new wordpress installation

October 22, 2014 1.6k views

I’m trying to create a site on an ubuntu 14.04/wordpress droplet. I’ve followed the one click directions carefully, and after logging into my droplet console as root, was able to identify my .htaccess login credentials (admin, some random pw).

When I go to the site’s ip address, I get a login screen but those login credentials fail.

What have I done wrong???

1 Answer

That’s weird. Make sure there aren’t any spaces in your password and username and keep in mind that they’re case-sensitive.

If that still doesn’t work, you can change the password by running:

htpasswd -D /etc/apache2/.htpasswd admin
htpasswd -c /etc/apache2/.htpasswd admin new-password
  • Actually its not weird, it seems from google it happens frequently and often with Digital Ocean users. I my self have been locked out for a day. I can ssh in to my droplet but following your advice above i get an error saying cant find user admin. Its a brand new Installation of WP on Ubuntu

Have another answer? Share your knowledge.

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