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.php
and findDB_NAME
(Database name). - Go to
phpMyAdmin
and click on the database name. - Click on
wp-users
and you will see list of all users. - Click on edit for which user you want to change the password.
- You will see that
user_pass
is encrypted. - Search
MD5 Encryption
on Google, visit a website from results, enter your new password in box and encrypt it. - Now copy and paste the encrypted password in
user_pass
then click onGo
to save. - That’s All! go to your
wp-admin
and new password will work.
Note: You can also change email and then reset password from wp admin panel 😉
Muhammad Zohaib