Easily reset WordPress admin password of your website in 5 different ways

Easily reset WordPress admin password of your website in 5 different ways

WordPress is the most commonly used CMS for websites, and ensuring its security is a crucial aspect. Password resets are commonly required in WordPress sites when you forget the admin password or due to security reasons.

While WordPress provide options to easily reset admin password from the Dashboard, there maybe situations where you need to do it from the back-end.

WordPress admin password reset scenarios

For every online software, it is desirable to have a strong password policy to protect confidential information from unauthorized users. This includes periodic resets and using ‘hard-to-crack’ passwords.

In WordPress, admin area is where the website owners can manage their site settings – from posts to plugins. To safeguard your site content, it is desirable to set a strong admin password.

If you remember the current admin password, you can easily reset from the Admin area in WordPress, to a stronger or a different one. Periodically resetting the password is advisable to avoid attackers hijacking it.

In case you forget the password, there is also a ‘Lost Password’ option to reset it. But during certain undesirable scenarios such as a server hack, none of these may work and you may have to reset it from the backend, in the database.

[ You don’t have to lose your sleep to keep your customers happy. Our Hosting Support Specialists cover your servers and support your customers 24/7 at just $9.99/hour. ]

Today, we’ll see the different ways to reset admin password of a WordPress website from both front-end and back-end.

1. Reset WordPress admin password using old password

Resetting WordPress admin password is easy if you remember the old password. All you need is to go to the Admin Dashboard, go to ‘Users’ section and ‘Edit‘ the admin user.

Scroll down to the ‘Account Management‘ section and generate a ‘New Password‘ from the option shown:

 

reset wordpress admin password

Generate new password for WordPress admin

2. Reset WordPress admin password via email

Suppose you are unable to recollect the old password. But if your admin account is linked to an email account, the ‘Lost Password‘ option in the WordPress login page helps.

Go to WordPress login page at http://domain.com/wordpress/wp-login.php and click on the ‘Lost your password? link.

 

Reset WordPress admin password via email

Reset WordPress admin password via email

The password reset link would be emailed to your email address. You can set a new password by following those instructions.

3. Reset WordPress admin password from the database

Suppose your email server is not working fine or you have not configured an email account for your admin account, then the only way to reset WordPress admin password is via the backend.

WordPress sites have their data and access details stored in databases. This database name is configured in the ‘wp-config.php‘ file corresponding to that WordPress site.

Due to security reasons, WordPress stores the password information in ‘MD5’ format, which encrypts the password so that it is not directly known by anyone who looks up the database entry.

Here’s how to reset your admin password from the backend MySQL server:

  1. Check the ‘wp-config.php‘ in the document root for the WordPress website and find out the database name.
  2. Take a backup of the database as a safety precaution, in case something goes wrong.
  3. Take MySQL prompt using ‘mysql‘ command and select the database using ‘use database-name‘ command.
  4. Confirm the admin user account details from the wp_users table using ‘select’ command.
  5. Update the admin password by using the command – update wp_users set user_pass=MD5(‘password’) where user_login=”admin”;

 

Reset WordPress admin password from MySQL database

Reset WordPress admin password from MySQL database

 

You can give any strong password and reset the admin account details. Now you would be able to access WordPress admin section using this new password.

[ Use your time to build your business. We’ll take care of your customers. Hire Our Hosting Support Specialists at $9.99/hr. ]


STOP SPENDING TIME ON SUPPORT!

Do you spend all day answering technical support queries?

Wish you had more time to focus on your business? Let us help you.

We free up your time by taking care of your customers and servers. Our engineers monitor your servers 24/7, and support your customers over help desk, live chat and phone.

HIRE SUPPORT SPECIALISTS AT $9.99/HR

Bobcares provides Outsourced Web Hosting Support and Outsourced Server Management for online businesses. Our services include 24/7 server support, help desk support, live chat support and phone support.

Submit a Comment

Your email address will not be published. Required fields are marked *

Bobcares
Bobcares is a server management company that helps businesses deliver uninterrupted and secure online services. Our engineers manage close to 51,500 servers that include virtualized servers, cloud infrastructure, physical server clusters, and more.
MORE ABOUT BOBCARES