Tutorials › How to recover my password
How to recover my password
Overview
Steps for recovering your WordPress password.
Steps
Replace example.com with your website URL.
Method 1 – Using the Recover Password feature
This method requires that you know your username or email address and that your website is successfully sending emails. If either of these is not the case, skip to the other methods.
- Go to
example.com/login
- Click Lost your password?
- Enter your username or email address
- Click Get New Password
Method 2 – Reset your password from the database
This method assumes you have phpMyAdmin installed and are familiar with using it.
- Login to phpMyAdmin
- Click on your WordPress database
- Click
wp_users
table - Click Edit next to the row with your username
- Replace the
user_pass
value with your new password - Select MD5 as the Function
- Click Go
Method 3 – Reset your password using the WP CLI
This method assumes you have WP CLI installed and are familiar with using it.
- Access your website via SSH
- Access your WordPress directory
- Type
wp user list
- Remember your user ID (in this example we assume it’s
1
) - Type
wp user update 1 --user_pass=SetThisToYourNewPassword812