Resetting a WordPress Password (Firstserv Guide)
If you’ve lost access to your WordPress account, there are several ways to reset your password. This guide covers three methods, starting with the simplest and most recommended approach.
Method 1: Use the “Lost your password?” Link (Recommended)
This is the easiest and safest way to reset your password.
Steps:
- Visit your WordPress login page:
https://yourdomain.com/wp-admin - Click Lost your password?
- Enter your username or email address
- Click Get New Password
Reset Your Password
- Check your email inbox (linked to your account)
- Click the reset link provided
- Enter a new password (WordPress will suggest a strong one)
- Click Reset Password
✅ You can now log in using your updated credentials.
Method 2: Reset via phpMyAdmin (Advanced)
If you don’t have access to your email, you can reset your password directly in the database.
⚠️ Important: This method involves editing your database. Only proceed if you are confident and have a full backup.
- Access cPanel → phpMyAdmin
- Locate your database and open the
_userstable - Edit the
user_passfield - Set a new password and apply the MD5 function
👉 For full step-by-step instructions, refer to our phpMyAdmin password reset guide.
Method 3: Reset Using WP-CLI (Advanced)
If your hosting plan includes SSH access, you can reset a password using WP-CLI.
Step 1: Connect via SSH
- Open cPanel → Terminal or connect using an SSH client
- Log in using your hosting credentials
Step 2: Navigate to WordPress Directory
(Adjust if your site is in a different folder.)
Step 3: List WordPress Users (Optional)
Step 4: Reset the Password
- Replace
usernamewith the actual username - Replace
"newpassword"with your chosen password
✅ The password will be updated instantly.
Important Notes
- Always try the email reset method first
- For advanced methods, ensure you have a full backup of your site and database
- Incorrect changes in the database or via CLI can cause issues
Summary
You can reset your WordPress password using:
- Password reset link (recommended and easiest)
- phpMyAdmin (for database-level changes)
- WP-CLI via SSH (for advanced users)
If you’re unsure about any of these steps or need help regaining access, the Firstserv support team is always available to assist.
