Self-Hosted WordPress (WordPress.org) is empowering more than 35% of the websites that are currently live on the Internet, and in counting, this number is in millions. But I wonder, most of the people using WordPress actually don’t know how they can reset or change their dashboard or admin panel password. So, I’ve written this tutorial for all those people who want to change their password for some reason now.
When people say about WordPress, then they either might be referencing to the self-hosted WordPress, which is simply a software that requires a web hosting service to run or the WordPress.com hosting blog service. Guides for changing the password for both of the WordPress platforms is provided here.
Steps To Change Password For Self-Hosted WordPress
There are two methods for changing the password of a self-hosted WordPress website or blog.
Method 1. Reset Password Via Email
The steps to reset the password of your WordPress site via your email are given below.
- Go to the WordPress Dashboard’s Login page.
Did you know that there are several ways to open the WordPress Login page? Check out here.
- Under the Login Box, you’ll find a link labeled as
Lost your password?. Click on this link.
- Enter the email address of the registered user for which you want to reset the password and click on the Get New Password button.
- You’ll now receive the link in your email to change the password. Click on the confirmation link provided in the email.
- After clicking on the link, you’ll be redirected to the page where you’ve to choose a new password for the mentioned username. A new password will be there in the field.
- Enter the desired new password and click on the Reset Password button. You’ll get the reset confirmation immediately, and now you’ll be able to login to your WordPress dashboard using the new password.
Method 2. Change Password from Database
There are chances that the first method may not work for you. One of the most common reasons behind it is that your SMTP settings are not properly configured, and your email sending system in WordPress could not work. Anyways, whatsoever may be the reason, there is one way to change the password from your database.
The steps to change the WordPress password from MySQL database using the phpMyAdmin interface are given below.
- Login to your phpMyAdmin interface.
Most cPanel based web hosting services provide quick and easy access to the phpMyAdmin interface to managing the MySQL Database. The screenshot for finding the phpMyAdmin option in cPanel is given below.
Sometimes, you also need not enter your username or password for the database manually, and cPanel automatically logs into the database interface. But if required, a login page will open as shown in the screenshot given below in which you’ve to enter the username & password for the same user, which is being used by your WordPress website.
You can find this username & password in the wp-config.php file located in the root folder of your WordPress installation directory. Here’s a tutorial for the same by pair.com. You can use the cPanel built-in file Manager of any FTP client to access the wp-config.php file. We had recently published a list of some of the best FTP client software for different operating systems, which you can check out at the following link.
- Once successfully logged into your phpMyAdmin interface, go to the
wp_userstable of your database. The name of this table may vary depending on the custom database prefixes, but it must have the word
usersin the ending.
- This table contains all of the users of the WordPress website and their passwords. The passwords are not stored as plain text but in the MD5 hash format. Click on the Edit link corresponding to the user row for which you want to change the password.
- The row will now be available for editing. Here you can change the password in four simple steps. In the user_pass field, choose the MD5 option from the selection list for the Function column and then enter the new password in the corresponding field for the Value column.
- Click on the Go button to make the changes, and this way, your password will be changed to the new password.
You can also enter your new password in the Value field directly in the MD5 hash format, in that case, do not choose an option from the Function column list. Also, you can use our MD5 Generator tool to generate MD5 hashes for your plain text quickly.
Steps To Change Password For Hosted WordPress
For WordPress.com, you can change the password using the only single way, i.e., using the email reset method, which is similar to the first-mentioned method as for self-hosted WordPress.
- Go to the WordPress.com login page and click on the Lost Your Password? Link.
- The Lost Password page will open. Enter your WordPress account username or email address and then click on the Get New password button.
- Now, you will receive a password reset code either on your registered email address or if you might have added and verified your phone number with your WordPress.com account, then most probably, you’ll receive the code on your mobile number in an SMS. In this case, I received the code by SMS, and I also received the confirmation link via email.
Enter the received SMS code in the provided field or simply click on the Reset Password button or confirmation link in the received email and proceed to the next step.
- Now, a new page will open, and here you have to enter your new password in a field. There’s also a button provided to generate a password automatically. Enter your new password and click on the Reset Password button.
- This way, you’ll be able to reset your WordPress.com account password successfully, and now you should be able to log into your account using the new password.
You’d also like to read the following linked articles.
- How To Change Twitter Username or Handle?
- Remove Background From Image in 5 Seconds
- WordPress Redirect – Guide To Redirection in WordPress
- How to backup WordPress Database with a simple plugin?
- 15 Best Code Editors For Windows, Mac & Linux