Typically this occurs when someone has forgotten their password, they don’t have access to their email for a standard password reset, or their WordPress isn’t sending emails correctly. In this article, we will guide you through a few quick and easy steps on how to reset the WordPress admin password for all the different types of scenarios you can encounter.

Access To Email: Reset WordPress Admin Password

Reset WordPress Admin Password Tutorial

Firstly, to reset the WordPress password is via the standard login page. This assumes you have access to your email.

  1. Browse to your WordPress login page, typically this is located at /wp-admin, such as domain.com/wp-admin. Then click on the “Lost your password?” link at the bottom.
  2. On the next screen, enter your username or email address of your WordPress administrator account. Click on “Get New Password” and you will receive a link to create a new password via email.

Reset WordPress Admin Password Via phpMyAdmin: When You Do Not Have Access To Email

Secondly, as an alternative to using the WordPress Toolkit tool in your cPanel to reset the WordPress password. You can reset the password for the desired user by changing it directly in the application’s database. So, to do this, go to your cPanel and click on the phpMyAdmin icon in the Databases section. Next, locate your WordPress database from the list on the left. However, If you’re not sure which one it is, you can check the wp-config.php file in the root folder of your WordPress installation for the line below:

define(‘DB_NAME’, ‘user_wp743’);

UPDATE `wp_users` SET `user_pass` = MD5(‘NEWPASSWORD’) WHERE `wp_users`.`user_login` = “admin_username”;

As a result, in the above query replace wp_ with the actual table prefix for your WordPress, NEWPASSWORD with the desired password and admin_username with the actual WordPress username. Once you do that click on the Go button in the bottom right part of the screen to execute the query.

Finally, you can now login with your new password. In conclusion, If you want to change your WordPress admin username too. You can follow the instructions in our tutorial on how to change your WordPress username.



Share This Post