How to Reset WordPress Administrator Password
There are 4 ways to reset a WordPress Admin password. Please choose one of the following methods below that suits your preference.
1) Open your WordPress administrative login page which is usually located at http://yourdomain.com/wp-admin.
2) Click on the Lost your password? option, fill out the username or email address > Get New Password as shown below.
3) Log into your email account, which is set as your administrative WordPress contact.
You can find the email message with the password reset URL. Click on the password reset URL.
4) Enter your new strong password twice on the opened page > Reset password
1) Login to cPanel and click on Softaculous Apps Installer.
2) In the Softaculous interface find "All Installations" icon at the top right corner:
3) In this menu you will see Scripts Installations list. Select the one you need to change the admin password for and click on Edit Details (pencil icon) next to it:
4) Next you will see installation details page. Scroll down to Admin Account section. Here you need to enter your current username and the new password in Admin Password field:
5) Once done, scroll down to the bottom of the page and hit Save installation details button.
6) After that you will receive the message about the successful update.
7) Kindly feel free to log in to WordPress admin panel using the new password.
If you have no access to the email account linked to your administrative dashboard, you can reset your password via MySQL database & phpMyAdmin.
1) Login to your cPanel . Under Files section, click on File Manager and navigate to the document root of your WordPress website:
2) To check what database is used for your WordPress website, open the wp-config.php file.
3) Go to cPanel > Databases section > phpMyAdmin
4) Select the database in question, table wp-users and click on Edit next to the admin user.
5) On the next page, type in your new strong password into the user_pass box, select MD5 in the Function column and click Go.
If you can log into your WordPress dashboard, then you can change your password from within, without having to use your email. This method is useful if you don’t currently have access to your email account, but your WordPress login session hasn’t expired yet. Plus, it takes less time than it does to change the WordPress admin password via the login screen.
1) Go to your WordPress dashboard, and navigate to Users > All Users > Click Edit
Image example below; if you want to edit for admin
2) Access the Account Management section and click on Set New Password.
3) Once you enter it into the field, click on the Update Profile at the bottom of the page, and you’re good to go.
With these 4 methods, you can now go back to the WordPress dashboard page and try to log in with the new password.
Option 1: Using Lost Password Function
1) Open your WordPress administrative login page which is usually located at http://yourdomain.com/wp-admin.
2) Click on the Lost your password? option, fill out the username or email address > Get New Password as shown below.
3) Log into your email account, which is set as your administrative WordPress contact.
You can find the email message with the password reset URL. Click on the password reset URL.
4) Enter your new strong password twice on the opened page > Reset password
Option 2: Using Softaculous Apps Installer
1) Login to cPanel and click on Softaculous Apps Installer.
2) In the Softaculous interface find "All Installations" icon at the top right corner:
3) In this menu you will see Scripts Installations list. Select the one you need to change the admin password for and click on Edit Details (pencil icon) next to it:
4) Next you will see installation details page. Scroll down to Admin Account section. Here you need to enter your current username and the new password in Admin Password field:
5) Once done, scroll down to the bottom of the page and hit Save installation details button.
6) After that you will receive the message about the successful update.
7) Kindly feel free to log in to WordPress admin panel using the new password.
Option 3: Reset the Password via phpMyadmin
If you have no access to the email account linked to your administrative dashboard, you can reset your password via MySQL database & phpMyAdmin.
1) Login to your cPanel . Under Files section, click on File Manager and navigate to the document root of your WordPress website:
2) To check what database is used for your WordPress website, open the wp-config.php file.
3) Go to cPanel > Databases section > phpMyAdmin
4) Select the database in question, table wp-users and click on Edit next to the admin user.
5) On the next page, type in your new strong password into the user_pass box, select MD5 in the Function column and click Go.
Option 4: Reset the Password in WordPress Dashboard
If you can log into your WordPress dashboard, then you can change your password from within, without having to use your email. This method is useful if you don’t currently have access to your email account, but your WordPress login session hasn’t expired yet. Plus, it takes less time than it does to change the WordPress admin password via the login screen.
1) Go to your WordPress dashboard, and navigate to Users > All Users > Click Edit
Image example below; if you want to edit for admin
2) Access the Account Management section and click on Set New Password.
3) Once you enter it into the field, click on the Update Profile at the bottom of the page, and you’re good to go.
With these 4 methods, you can now go back to the WordPress dashboard page and try to log in with the new password.
Updated on: 22/07/2024
Thank you!