Recover / Reset WordPress Admin Password

20 Jan

For some reason, people have trouble with this, I don’t know why – I never have.
They either don’t get the e-mails, or the password doesn’t seem to reset, or it resets and because they don’t get the e-mail they can’t get the activation link, or they don’t have access to the database, or so on and so on and so on.
Tired of all of those posts I decided there had to be a simpler way. Enter this totally insecure script, emergency.php
screenshot of emergency.php
emergency.php does 2 things: It allows you to change your WordPress blog administrator password and it sends off an e-mail to the blog administrator, letting them know, once it’s been changed, what’s happened.
It does not require that you be logged in. It only requires that you have the ability to upload the file to your server, and that you know the current WordPress administrator’s username. Hint: That’s usually admin.

I’ve made an alternative version available for users of WordPress 2.0 that have trouble with the other regular version.

Specific Instructions:

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

Download emergency.php for WordPress 2.2.x and 2.3.x
Emergency for WordPress
MD5 Checksum: 5a0c13f563484bd0364ee0f62ae2d4cb
Download the alternative emergency.php for WordPress 2.0.x users that have trouble with the above version!
Emergency for WordPress.
MD5 Check


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: