Get 69% Off on Cloud Hosting : Claim Your Offer Now!
Have you forgotten your WordPress admin password? No worries! There are various ways to reset it.
In this knowledge base post, we will see how to recover lost passwords for WordPress admin (wp-admin).
So, let’s get started!
The most frequent way to reset your WordPress admin password is to click the Lost your password
Take these steps:
- Go to your WordPress login page
- Click the "Lost your password?"
- Enter your WordPress login or the email address linked to your admin account.
- Click the "Get New Password" button.
- Password reset link sent to your inbox.
- Follow the link to create a new password.
You may reset the password straight from the WordPress database using phpMyAdmin.
Here's how:
- Log in to your hosting control panel
- Select the WordPress database from the list
- Locate the "wp_users" table and click on it to open.
- Find your admin user account in the table and click on the "Edit" button
- Enter your new password.
- Finally, save the changes.
Still not resolved? You may reset the admin password by editing the functions.php.
Here's how:
- Connect your website to your computer.
- Switch to the "wp-content/themes/your-active-theme.”
- Save the "functions.php" file.
- Open the "functions.php" file in Notepad++.
- Append the below code at the end of the document.
wp_set_password('new_password', 1);
Replace 'new_password' with your desired password.
- Save the changes and upload the modified "functions.php" file back to your server.
WordPress provides an emergency password reset script.
Here's how:
- Download the emergency password reset script from the official WordPress website
- Upload the script to your WordPress root directory using FTP.
- Access the script via your web browser.
- Follow the instructions to reset your admin password.
To avoid future password-related issues, consider implementing the following best practices:
- Use a strong and unique password.
- Update your WordPress installation, themes, and plugins.
- Enable two-factor authentication.
- Limit the number of login attempts.
- Keep your email address associated with your admin account up-to-date.
That’s It
Forgetting your WordPress admin password is not threatening. Follow our step-by-step guide to reset your admin password. For more information-get in touch with our WordPress hosting team.
Let’s talk about the future, and make it happen!
By continuing to use and navigate this website, you are agreeing to the use of cookies.
Find out more