Hey WordPress Lovers! In case if you forget the password or user credentials of your WordPress admin panel (i.e., domain/wp-admin), you can hard reset it by going to your cPanel itself.

It’s not the first recommended method by the way. You can always use the “Forgot Password” link under domain/wp-admin in normal condition. But it may not be possible to get your password changed if you’ve forgotten your email/username or password maybe.

Following is the procedure in the stepwise form:

  • Log into your cPanel by going to yourdomain/cpanel.
    (If you’re familiar with cPanel, that’s great! If not, you shall use the above format as www.abc.com/cPanel where abc.com must be your domain name.)
  • Search for phpMyAdmin or go to Databases section directly and select PhpMyAdmin.
  • On the left side of PhpMyAdmin, you’ll see the database. Choose a specific database of your site.
    (If you’re not sure which database is being used, you shall go to your wp-config file and figure it out under database_name.)
  • After selecting your database, click on wp_users table.
  • You’ll see username and emails listed under wp_users relation and the Edit option on the right side can be used to change these values.
  • The password of username in wp_user is in form of a fixed-length digest generated by a Hash function called MD5. Here is where you should make the change to your password. Make sure to select MD5 in the drop-down menu under the functions field.
  • The username and email are listed here and you can click Edit to the right to change them.
  • The password is listed in MD5 hash. To change it, you will need to click Edit on the left, then enter the new password, and select MD5 in the drop-down menu under Functions.

And, yeah! You just did it.

If you’ve any problem, do not hesitate to ask further.
Note: This method is not recommended over the “Forgot Password” option. If resetting a password can solve your problem then I don’t recommend this method by any means.

Cheers and Happy Learning!


Please enter your comment!
Please enter your name here