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 3 things you can do:
- Reset the password using WordPress’ built in system. This require you have access to the e-mail you used to register your blog with.
- Using phpmyadmin (or something similar) to manually change the password directly in the MySQL database.
- Use the clever little tool created a long time ago, called WordPress Emergency PassWord Reset.
It 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:
- Unpack the zip.
- Upload emergency.php to the root of your WordPress install (the same directory that contains wp-config.php)
- Open http://www.yourdomain.com/emergency.php in your favorite browser.
- Follow the simple instructions.
- When you are done, delete emergency.php off your server. Do not leave it up for someone else to come along and use.
6 Responses
Leave a Reply
Excellent post, thanks for the tip. From this critic, thumbs up.
Thank you Whisper
Does this also work for wordpress 2.8 version?
please reply soon like in next 10 minutes
waiting for ur reply
apprecite it if u reply soon
thanks
Hi nitin
I hope I was fast enough, I am not ALWAYS online, but I try to be
I have not tested it on version 2.8, latest version i checked on was 2.7.1, but as far as I can see, 2.8 have not had changes in that area, so it should also work.
REMEMBER to remove the file afterwards, otherwise its a big open welcome mat to people who try to hack WordPress sites.
Usefull article! Hello from Russia!
Hi Sergei
Thank you, and hello back from Barcelona, Spain!