Forgot WordPress password and can't get into the dashboard? If the administrator's email address is yours, click Lost your password? on the login page and you will receive a reset link. If the email address is unknown or belongs to a former partner, change the administrator's email or password directly in the database from phpMyAdmin.
Konet does not keep website passwords. We can only set a new password, if the hosting account holder asks for it.
Resetting your WordPress password from the login page
This is the simplest way, as long as you receive the emails of the address registered for the user.
- Open the WordPress login page, that is
example.gr/wp-adminorexample.gr/wp-login.php. - Click Lost your password? below the login form (Χάσατε το συνθηματικό σας; if the site is in Greek).
- Enter the administrator's username or email address in Username or Email Address.
- Click Get New Password.
- Open the email you receive and click the reset link. If you can't find it, check your spam folder.
- Type a new password or keep the one WordPress suggests and click Save Password.
The email goes only to the address registered for the user inside WordPress. If that address no longer exists or belongs to someone else, use one of the following methods.
Changing your WordPress password through another administrator
If the site has a second user with the Administrator role, that user can set a new WordPress admin password for you without any email.
- The other administrator logs in and opens Users > All Users.
- They click Edit on your user.
- If needed, they enter an address you control in the Email field.
- Under Account Management they click Set New Password and type a password or keep the suggested one.
- They click Update User. The new password works immediately.
Changing your WordPress password from phpMyAdmin
When you have access neither to the email nor to another administrator, the change is made directly in the site's database. All you need is access to cPanel.
Before you start
- Open cPanel > Files > File Manager, go to the site's folder and open
wp-config.phpwith View. - Note the database name on the
DB_NAMEline and the table prefix on the$table_prefixline, usuallywp_. - Open cPanel > Databases > phpMyAdmin and select the database in the left column.
- Click the Export tab and then Export, to keep a copy of the database before you change anything.
- Open the table ending in
_users, for examplewp_users. Theuser_logincolumn shows the usernames anduser_emailshows each user's email.
I change the email and request a new password
- Click Edit on the administrator's row.
- Enter an address you control in the
user_emailfield and click Go. - Go back to the login page and request a new password, as in the first section.
This is the safest method, because WordPress itself stores the new password.
I write a new password in user_pass
If the site's emails don't arrive, change the password directly, as described in the official WordPress documentation.
- Click Edit on the administrator's row.
- On the
user_passrow, delete the current value, which is a long string of letters and numbers. - Type the new password. Mind upper and lower case.
- In the Function column of the same row, select MD5.
- Click Go.
- Log in at
example.gr/wp-adminwith the username and the new password.
WordPress accepts this temporary format. On the first successful login it stores the password again with its modern, stronger hashing. To be safe, once you are in, set the password again from Users > Profile with the Set New Password button.
Don't change any other fields in the table. For the other tools see the phpMyAdmin guide.
Logging in without a password from Softaculous
If WordPress was installed with Softaculous, open cPanel > Software > WordPress Manager by Softaculous, find the installation and click Login. You enter the dashboard without a password and from there you change the email and password, as in the section about another administrator. More in the WordPress Manager by Softaculous guide.
Logging in from WP Toolkit
Konet's cPanel also has WP Toolkit. If the site appears there, the Log in button on its card takes you into the dashboard, and Setup next to the login details lets you set a new password. If the site doesn't show, click Scan.
I see users I don't recognize, what do I do
While you are at it, open Users > All Users and filter the roles at the top of the list.
- Administrators you don't recognize. If it is a former partner, delete the user. When deleting, WordPress asks which user should receive their content. Choose your own, so that no pages or posts are lost. If you don't know who created the user, treat it as a possible compromise and follow the guide to recovering WordPress after a hack.
- Many unknown users with the Subscriber or Customer role. These are usually registered by bots through the registration or shop form. They have no access to the dashboard, but it is worth closing open registration if you don't need it.
To protect the login, Konet recommends Wordfence, which also offers two-factor authentication for administrators.
My developer asks for access, what do I give them
For the WordPress dashboard, create a new administrator user for them with their own email from Users > Add New User. That way you don't share your password and you delete the user when the collaboration ends.
Changes to PHP, backups or the database need access to cPanel. Only the hosting account holder can give that. See how to give access to a partner or developer.
Frequently Asked Questions
I did a WordPress reset password request but the email never arrived, why?
First check your spam folder. If it isn't there, the user's email is most likely not what you think. See which one it is in the user_email column in phpMyAdmin and change it, as described above.
Is it safe to set the password with MD5 in phpMyAdmin?
Yes, for the reset. It is the method given in the official WordPress documentation, and WordPress converts the password to a stronger format on the first login. Still, choose a new, strong password and set it again from your profile.
Can Konet tell me the password the site had?
No. Konet does not keep website passwords and WordPress stores them hashed, so nobody can read them. If you can't follow any of the steps, the account holder can open a ticket from the Client Area and ask for a new administrator password.
I don't have the cPanel password either, what do I do?
You change it from the Client Area, if you are the account holder. See the ways to log in to cPanel. If the hosting is in the name of the company that built the site, ask them for access or for the account to be transferred to your name.
At the wp-admin login I enter the right password but the page just reloads, why?
Old cookies or the browser cache are usually to blame. Try a private browsing window (Incognito). If it works there, clear the site's cookies in your browser. If you use LiteSpeed Cache, also purge the cache from the LiteSpeed Web Cache Manager. If you log in normally but the site's links return 404, see how to fix the WordPress 404 error.
I got locked out after too many wrong attempts, what do I do?
If the site has a security plugin such as Wordfence, it may have temporarily locked your IP. Wait a while, or change the password from phpMyAdmin and try again later. If cPanel or the site doesn't open at all from your network, see how to unblock your IP.