How to Reset WordPress Admin Username and Password
WordPress is a popular platform for creating websites and blogs. However, sometimes you may forget your WordPress admin username or password, or need to change them for security reasons. In this article, we will show you how to reset WordPress admin username and password in different scenarios.
Scenario 1: You have access to your WordPress dashboard
If you can still log in to your WordPress dashboard, then resetting your username and password is easy. Here are the steps:
- In the WordPress dashboard, go to **Users > All Users**.
- Find the user account that you want to reset, and click on the **Edit** link below the username.
- In the **Edit User** screen, you can change your username, email address, and password. To change your password, scroll down to the **New Password** section and click on the **Generate Password** button. You can also type your own password in the box. The strength indicator will show you how strong your password is.
- Click on the **Update User** button to save your changes.
Scenario 2: You have access to your email account
If you don't have access to your WordPress dashboard, but you know your username or the email address associated with your user account, then you can use the password reset link to get a new password. Here are the steps:
- Go to your WordPress login page (example.com/wp-admin).
- Click on the **Lost your password?** link below the login box.
- Enter your username or email address and click on the **Get New Password** button.
- You will receive an email with a link to reset your password. Click on the link and follow the instructions to set a new password.
Scenario 3: You have access to your database
If you don't have access to your WordPress dashboard or your email account, but you have access to your WordPress database, then you can reset your username and password directly from the database. Here are the steps:
- Log in to your database management tool, such as phpMyAdmin.
- Select your WordPress database from the list of databases.
- Find the table named **wp_users** and click on the **Browse** link next to it. You will see a list of user accounts in your WordPress site.
- Find the user account that you want to reset, and click on the **Edit** link next to it. This will open a form where you can edit the user data.
- To change your username, edit the value in the **user_login** field. To change your email address, edit the value in the **user_email** field.
- To change your password, edit the value in the **user_pass** field. However, you cannot enter a plain text password here. You need to enter a hashed password, which is a scrambled version of your password. To generate a hashed password, you can use an online tool like [MD5 Hash Generator](^1^). Simply enter your desired password in the tool and copy the hashed password that it generates. Paste the hashed password in the **user_pass** field.
- Click on the **Go** button to save your changes.
Conclusion
We hope this article helped you learn how to reset WordPress admin username and password. If you have any questions or suggestions, please leave a comment below or visit this link Fiverr. If you need more help with WordPress, you can check out our other articles or contact our support team.