There are three options on how to reset WordPress admin password:
Via WordPress Dashboard
|Note: This process needs to have your access or current WordPress admin password.|
Step 1. Log in to your WordPress dashboard via the link yourdomain.com/wp-admin (replace yourdomain.com with the domain of your website) or on any of the methods below depending on your web hosting plan.
Step 2. Click the button on the upper right side of the page as indicated in the screenshot below.
Step 3. Click Edit Profile.
Step 4. Scroll down to New Password field under Account Management and click the Set New Password button.
Step 5. Enter the new password in the box.
Step 6. Click the Update Profile button to save the changes.
Via Lost Your Password Link
|Note: This process needs to have the admin email address accessible as the reset link will be sent to that email address only.|
Step 1. Access the WordPress login page via the link yourdomain.com/wp-admin or yourdomain.com/wp-login.php (replace yourdomain.com with the domain of your website).
Step 2. Click the Lost your password? link.
Step 3. Enter your registered admin username or email address inside the box.
Step 4. Click the Get New Password button.
An email with a reset link will be sent to your registered email address. Follow the instructions on the email to set up a new password.
|Note: The steps below are applicable to cPanel users only. If you have WordPress hosting, learn how to access its phpMyAdmin here.|
Step 1. Log in to cPanel.
Step 2. Click File Manager.
Step 3. Go to your WordPress website files and locate the wp-config.php file. If you have WordPress Hosting, follow this link on how to access the WordPress website files.
Step 4. Right-click on the file and select Edit.
Step 5. Click the Edit button.
Step 6. Scroll down to line 23 and take note of the value indicated on the right of the DB_NAME (database name).
Step 7. Go back to cPanel homepage by going back to the previous tab.
Step 8. Scroll down to the icons under Databases and click phpMyAdmin.
Step 9. Click the database name that was obtained from Step 6.
Step 10. Click wp_users table.
Step 11. Click Edit on the user where you want to have the password changed.
Step 12. Choose MD5 on the Function drop-down that corresponds to user_pass. This is the encryption type for your password and the recommended one for WordPress websites.
Step 13. Enter the new password on the Value field of user_pass. Take note of the password as it will be encrypted after saving.
Step 14. Click Go to save the changes.
You can now try the new password by logging in to the WordPress login page yourdomain.com/wp-admin or yourdomain.com/wp-login.php (replace yourdomain.com with the domain of your website).