Random enough to be declared weird.

How to reset wordpress admin password

10 Comments

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):
image

image

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

 
Tags: , , , , ,
Posted in: Free, How To, Personal, Random, Thalassemia Related, Work Related

10 Comments (Leave a comment) »

Leave a Reply