Some times we forget password, but the worst is when we also lose access to our email. This was something that one of my client experienced recently. I want to share the method with every one so next time this happens don’t worry as long as you have access to cPanel just follow the steps below and access your site in no time.
- Open
wp-config.phpand findDB_NAME(Database name). - Go to
phpMyAdminand click on the database name. - Click on
wp-usersand you will see list of all users. - Click on edit for which user you want to change the password.
- You will see that
user_passis encrypted. - Search
MD5 Encryptionon Google, visit a website from results, enter your new password in box and encrypt it. - Now copy and paste the encrypted password in
user_passthen click onGoto save. - That’s All! go to your
wp-adminand new password will work.
Note: You can also change email and then reset password from wp admin panel 😉
Muhammad Zohaib