How to reset wordpress admin password
I am sure there are many ways to do this, but I am going to tell you the one I use, first let me tell you why I suddenly thought about writing this, if you don’t want to find that out please click here (or scroll down) to go directly to read my own preferred way of resetting wordpress admin password by using a simple PHP script
I found this PakBlogger.Com post on How To Reset WordPress Admin Password Via phpMyAdmin It was shared by Awais Naseer of The Gadgets — one of the very few people who I found interesting enough to stalk using my PC & twitter account I thought I should post my comments there but then I realized I could use my own blog to post a correction Why? Oh well for obvious reasons that you all have guessed by now 😛
It’s a very good post, but there is one thing that can be changed to make it even more simple (it reduces one complete step AND a tab) okay let me quote that part first:
Now open a new tab in your browser and go to MD5 hash and write a password and encrypt that to MD5 hash
Step 5: Now copy this encrypted form and in .phpMyAdmin check the box beside your username and click on the pencil icon to edit the entry and replace the password with newly generated md5hash password that you copied
Click on Go to save the changes and you new password is set
Okay now please check the two images I have posted below (click to magnify):
If you follow that step you won’t have to go to any other site to encrypt your password There is no problem with using 3rd party site for that but why use something when you really don’t have too?
My Preferred Way to Reset WP Admin Password:
Well this was for people who have access to .phpMyAdmin, what if you don’t have access to .phpMyAdmin? What if your access is limited to just FTP? I had that problem recently when I was trying to setup a blog at DaCoolSiteCom, a site that I created to raise funds for my awareness campaign “Thalassemia Free Pakistan”
Well here is the solution for them:
Step 1: (Screenshot)
Download this file “WordPress: Reset Admin Password Script“, Extract & Upload it in your WordPress directory (it must share the same folder with wp-config.php)
Step 2): (Screenshot)
Open it in your browser (ex: http://yoursitecom/wordpress/reset_pass.php)
Step 3): (Screenshot)
Click on your Username, enter a new password and click submit, your password is updated You can login with your new password now
Step 4): (Screenshot)
For security reasons it is advised to either delete OR rename reset_pass.php on your server
It can’t get simpler than that, no?
-Salman
Related Posts:
Posted in: Free, How To, Personal, Random, Thalassemia Related, Work Related
Thanks for some correction mate where we can skip a step 🙂 and thanks for linking…nice blog you have here
Nice post and thanx for such nice comments about me 🙂
@Sohail, np dude
@Awais, np, I thought you are elder than me, appearances can be really deceiving. no?
This little script has saved my ass more than a few times – thank you very much Salman!
You are a genius! The reset admin password script worked flawlessly! I ftp’d the file up to my servers and viola, the password was reset with ease. Thank You!!!!
Hey, very good Job.. very easy script. But it is somewhat insecure.
But thats fine.. Keep it up
Thanks for liking Rahul. It’s insecure, yes. But it’s not supposed to be on your server for more than a few minutes. as the instruction says delete it after it’s done it’s job 🙂
[…] can read the complete article here. AKPC_IDS += "2871,";Popularity: unranked […]
Hey man, you saved my ass, thx a lot
Yes, I did. Same problem. Check out my blog.
Leave a Reply
Who am I?
(read more)
Recent Posts
Recent Comments
Quick Updates
Archives
Categories
Tags
Links
Powered by WordPress | Log in | Entries (RSS) | Comments (RSS) | ilookgood! theme by iwritealot!