I'm locked out of WordPress admin
Try the normal password reset first
-
Open:
https://yourdomain.co.za/wp-login.php -
Select Lost your password?
-
Enter the administrator username or email address.
-
Check the inbox and spam folder.
-
Follow the reset link.
If the message does not arrive, the website may not be sending email correctly or the saved administrator address may be wrong.
Check that you are using the correct login address
The standard WordPress login addresses are:
https://yourdomain.co.za/wp-admin
https://yourdomain.co.za/wp-login.php
A security plugin may change or hide these addresses. Check your records or contact the developer who configured the website.
Reset the password through Softaculous
If WordPress was installed with Softaculous, Softaculous may let you reset an administrator password.
- Sign in to your hosting control panel.
- Open Softaculous.
- Find the WordPress installation.
- Open its management options.
- Select the administrator account.
- Set a new strong password.
On DirectAdmin, Extra Features → WordPress Manager by Softaculous lists your WordPress sites. If you don't see Softaculous, use the phpMyAdmin method below.
Reset the password with phpMyAdmin
Back up the database before editing it.
- Open
wp-config.phpin File Manager. - Find the value of
DB_NAME. - Open phpMyAdmin.
- Select that database.
- Find the table ending in
_users. The default table iswp_users, but your site may use a different prefix. - Find the administrator's row.
- Select Edit.
- Find
user_pass. - Choose
MD5in the function column. - Enter a new strong password as the value.
- Save the change.
- Sign in to WordPress with the new password.
WordPress will replace the temporary MD5 value with its normal password hash after a successful login.
Disable a plugin that blocks access
A security, login or two-factor authentication plugin may cause the problem.
- Open File Manager.
- Go to
public_html/wp-content/plugins. - Find the suspected plugin's folder.
- Rename it by adding
-disabled, for examplesecurity-plugin-disabled. - Try signing in again.
Rename only the suspected plugin where possible. Disabling every plugin may affect the live website.
Check whether your public IP is blocked
Repeated failed control-panel, email or FTP logins can cause the server firewall to block your public IP. Customers cannot view or remove firewall blocks.
If the website works on mobile data but not on your usual connection:
- Stop retrying.
- Find your public IP address.
- Open a Webway support ticket.
- Include the public IP and the services that fail.
See My website works for others but not for me.
After restoring access
- Set a unique password.
- Confirm that the administrator email address is correct.
- Review administrator accounts.
- Re-enable plugins one at a time.
- Enable two-factor authentication.
- Update WordPress, its plugins and themes.
Still stuck?
Open a support ticket and include:
- Your domain name
- The login address you are using
- The exact error shown
- Whether the password-reset email arrives
- What changed before the problem began
- Any plugin folder you renamed
- Your public IP address if the site works from another network
Did this answer it?