How to Reset WordPress Admin Password?

This article is about how to reset WordPress Admin Password. The process is explained step by step providing screen shot of each step

Reset WordPress Admin Password

This article is about how to reset WordPress Admin Password. The process is explained step by step providing screen shot of each step. I hope you will understand the topic.

Why you want to reset WordPress Admin Password?

You have forgotten your password or lost it and now you want to reset it. There are basically many other reasons also when you need to reset it. But in all other cases, you can access the admin panel. And when you forget or loose passwords, then you are not able to access the WordPress admin Panel.

Method 1: Reset WordPress Dashboard Password via e-mail

This is a very easy method. Type the following in URL bar of your browser

replace “yourdomain” with the correct domain name. Once you are on login page. Click on “lost your password”.


http://yourdomain.com

Reset WordPress Admin Password

In the next screen, enter the e-mail address to which you want the reset password link to be emailed to.

Enter the email address and click on “Get New Password”.

Some time the WordPress can not send the email or if you have no access to the email, then you will have to reset the password via Cpanel.

Method 2: Reset WordPress Admin Password via Cpanel

Login to your Cpanel account

Scroll down and click on PhpMyadmin

Reset WordPress Admin Password

Click on Databases

Identify your database and click on it

Click on WP_users or any other prefix you have provided during installation. In my Case it’s wp8_users. Most of the times it wp_users but many hosting changes this default due to security reasons.

Select the right user name and click on Edit

Identify the user_pass field. Give MD5 in type and enter the Password in the other field.

Now you have successfully reset your admin password. Login with this password now to open your WordPress admin dashboard.

Method 3:  Reset WordPress Admin Password via functions.php

Open your Cpanel

Click on File Manager

Navigate to Public Html>wp-content>themes

Select your active theme and edit its functions.php function

Write the command  wp_set_password.

Wp_set_password(‘password’,1) // replace password with your desired password

Delete the command after you login to the admin dashboard

Engr. Rahamd Ullah
Engr. Rahamd Ullah
Articles: 83
Share This