How To: Reset Your WordPress Admin Password

I administer quite a few WordPress sites around the internet, and recently I had to make changes to a site, where I had simply lost the password. I tried all the usual combinations, and the e-mail that was registered as the administrator e-mail, I no longer had access to.

So, when you are in this situation, and you cannot remember your password, there are three things you can do:

  1. Reset the password using WordPress’ built in system. This requires you have access to the e-mail you used to register your blog with.
  2. Using PHPMyAdmin (or something similar) to manually change the password directly in the MySQL database.
  3. Use the smart little tool created a long time ago, called WordPress Emergency PassWord Reset.

PassWord ResetIt is simply a small .php file that you download to your blog using FTP, and then open up using your browser.

Please see the instructions here, directly from the post:
[note]

  1. Unpack the zip.
  2. Upload emergency.php to the root of your WordPress install (the same directory that contains wp-config.php)
  3. Open https://www.yourdomain.com/emergency.php in your favorite browser.
  4. Follow the simple instructions.
  5. When you are done, delete emergency.php off your server. Do not leave it up for someone else to come along and use.

[/note]