Recently, I somehow forgot both my WordPress admin password and for some reason the email retrieval was not working (which I later found out I had combined two different emails and the ‘new’ one of course did not exist.)
There are really two ways to handle this. The first is…
If you have access to setup email accounts for your web hosting and domains and the domain ‘created’ by the incorrect email address actually does exist, you can setup an email account to match. Of course, that was not the case for me and I had to do the following…
- First, you will need to create an MD5 password, so go to
- Enter your password in the box and click to encrypt it, highlight and copy the password to your clipboard.
- Access the MySQL Admin tool, which may be phpmyadmin, provided by your hosting provider.
- Access the wp_users table.
- Enter a new ID, which should be the next in sequence.
- Add a new row to the table and enter the user_login field as a new username.
- Paste the MD5 password you created into the user_pass field.
- You don’t have to but it wouldn’t be a bad idea to enter the user_email too.
- Save the information.
- Access the wp_usermeta table.
- Duplicate all of the data for the original admin account, there should be 12 fields total.
- Make sure that you change the nickname to match the user login.
- Make sure that the 12 new fields have unique, sequential umeta_id numbers.
- Make sure that the 12 new fields’ user_id column matches the new id you created earlier.
- Save the table.
- That’s it! You should now be able to login using the account you just created!
There is of course a third option that I figured out later too that you could just correct the user_email in the wp_users table from phpmyadmin, but then again, what fund would taking the easy way have been?