WEBSITE RECOVERY
WordPress Admin Hacked and Locked Out? Recover Access Safely
If a WordPress administrator account is compromised, recover a trusted route into the hosting and identity systems before relying on a password reset. Restored login is only the beginning: review other privileged accounts, active access and changes made while the attacker had control.

Check whether this is compromise or a login failure
A rejected password can result from a forgotten password, browser cookie issue, a security restriction, an SSO problem or an unauthorised change. Record the exact error and check whether approved colleagues are affected. If the website is redirecting to a suspicious login page, stop entering credentials there and use a verified hosting support route.
Look for supporting evidence such as an unexpected administrator, changed recovery email, unapproved password-reset notification or hosting account event. Preserve those messages and timestamps privately. Do not announce a confirmed breach merely because one browser cannot open wp-admin, but do not ignore account changes that nobody authorised.
| Access still trusted | Practical recovery route |
|---|---|
| Recovery email and ordinary login page | Use the official password-reset process, then review account and website changes. |
| Another verified administrator | Have that administrator assist through documented account controls. |
| Hosting account only | Use the provider or an authorised developer to perform a controlled recovery. |
| No trusted administrative access | Begin provider ownership verification; avoid improvised access bypasses. |
Secure the recovery channel and prove ownership
Check the email account used for password resets before sending a replacement password through it. Review its sign-in sessions, recovery methods and forwarding rules if compromise is plausible. An attacker who still controls that mailbox may simply reset the WordPress password again.
Use a clean device and the hosting provider's known support channel. Be prepared to follow its ownership verification process. An agency developer should have explicit authority from the website owner and a defined scope; possession of a domain name or a screenshot is not permission to alter someone else's account.
Keep a timeline of recovery actions and who approved them. When several suppliers are involved, name one coordinator so that simultaneous password resets, access removals and restores do not undo each other. Share temporary access through an appropriate secure mechanism rather than placing credentials in a general support email chain.
Recover login using a supported method
WordPress documents several password-recovery methods depending on the access still available. Prefer the least invasive supported route that the owner can verify. If a technical reset is necessary, have an authorised administrator preserve relevant evidence and use a process suited to the installation rather than copying an unknown emergency script from a forum.
A password reset changes one identity control. It does not remove a malicious plugin, revoke a hosting session or restore an altered payment destination. Keep the site restricted if harmful behaviour remains. Confirm that the recovered account's email address, role and recovery options match the business owner's approved records.
If a temporary recovery mechanism is used by the provider or developer, record it and remove it after the task. Leaving a public reset script or a shared emergency administrator behind creates another access route that future administrators may not understand.
Review privileged access beyond the recovered account
- Reconcile administrator and, where applicable, multisite super-administrator access with named authorised people.
- Review recently created users, changed email addresses, unexpected role changes and plugin-created access mechanisms.
- Inspect application passwords, API credentials, SSO connections and relevant third-party management accounts.
- Review hosting, SFTP or SSH access, deployment keys and the account used to manage DNS or CDN rules.
- Revoke unauthorised access and invalidate relevant sessions after preserving necessary evidence; ensure replacement credentials are protected by the repaired environment.
WordPress roles group different capabilities, so granting Administrator merely to make a recovery easier can create unnecessary exposure. Give each authorised user the access their job needs. Do not delete legitimate customer or editorial accounts in bulk because their names are unfamiliar; verify ownership and preserve the data required for the business.
Inspect what the account could have changed
Review installed components, edited files, custom scripts, stored settings, site URLs and outbound notification destinations. Check the pages and workflows that matter to the business, not just the dashboard. An attacker with privileged application access may have made a persistent change that remains after their account is disabled.
Compare the incident period with available authentication, deployment and application evidence. If audit logging was not enabled, say so. Do not translate an absence of recorded events into a claim that nothing happened. Where integrity cannot be established, assess a rebuild from trusted code and reviewed content.
Use the findings to address the access route: a reused password, compromised recovery mailbox, vulnerable component or external management account each requires different remediation. An unexplained lockout should remain an open investigation item even after a new password works.
Close recovery with a controlled handover
Hypothetical example: an administrator's email is changed and the owner is locked out. The host verifies ownership and restores a trusted administrative route. The team then discovers a second unapproved administrator and a new script-loading plugin. Recovery includes removing those changes, securing the recovery mailbox and testing public pages. Restored login alone would have left the website exposed.
Document the authorised account list, recovery contact, temporary access removed and public functionality retested. Set a process for agency offboarding and emergency access reviews. Where supported, add strong multi-factor protection through trusted platform controls and retain recovery material securely.
CyberXperts can help assess a WordPress administrator compromise and its effect on the wider website. An enquiry should describe which access routes remain available, without including passwords, recovery codes or other secret account material.
Frequently asked questions
Should I keep trying passwords if the login page looks unusual?
No. A changed or suspicious login destination may be collecting credentials. Verify the correct domain and use the provider’s known support route. Investigate the page and account changes from a trusted environment before entering another password.
Will a password reset remove the hacker?
It may block one route, but other accounts, sessions, tokens, hosting access or malicious code can remain. Review the full identity and application scope. Treat successful login as access recovery, not proof that the incident is contained.
Can the hosting provider help if I have no WordPress access?
Often the provider has an ownership verification and account recovery process. The available steps depend on your hosting arrangement. Follow that process through a known support channel and ask it to preserve useful logs before retention periods or restoration work remove them.
Should I create a new administrator and leave the old one alone?
Only as part of an authorised, documented recovery plan. Unreviewed extra administrators complicate access control. Identify who owns each account, preserve needed evidence, revoke unauthorised privileges and remove temporary recovery access after the work is accepted.
What evidence should I ask for after recovery?
Request the account and access changes, the examined incident period, any persistent website changes found and the public tests performed. The report should identify gaps, such as missing audit logs, and explain the known access route or clearly state that it remains uncertain.
Sources and further reading
Official documentation and advisories supporting the technical points above. The recovery workflows and examples are editorial guidance for adapting to your own systems.
- WordPress: Reset your password — accessed 22 October 2026
- WordPress: Roles and Capabilities — accessed 22 October 2026
- WordPress: Logging In — accessed 22 October 2026
Get practical support for your next step.
Tell CyberXperts what happened, which systems are affected and what you have already checked. Do not include passwords or sensitive incident evidence in the initial form.
Discuss your website security