Question

Login failure on new wordpress installation

Posted October 22, 2014 1.7k views

Hi
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???

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.

×
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

Submit an Answer