Remove an unknown administrator account without leaving a back door, audit the access and renew the WordPress secrets. The priority is to restore a situation under control without wiping the traces useful to the diagnosis.

How do I recognise a fake WordPress administrator?
An infection is not resolved by deleting the visible file alone. You have to contain the incident, identify the point of entry, clean out every persistence mechanism, renew the secrets and then watch for files or accounts reappearing. Start by noting when it appeared, the most recent changes, the URLs concerned and the behaviour observed.
Test the site from a browser with no session, on mobile, and by arriving from a Google result: many infections only fire for certain visitors, or for crawlers. Note the suspicious URLs, the redirects you see and the Search Console warnings.
An administrator account you do not recognise
A changed email address or role
It keeps being recreated after you delete it
One signal alone does not prove the cause: âAn administrator account you do not recogniseâ can come from âA compromised passwordâ just as easily as from âAccount creation through a vulnerabilityâ. Look for at least two findings that agree before you apply a lasting fix.
Spotting an administrator account that should not be there
In Users > All Users, filter on the Administrator role and compare every account with the list of people who really should have it. Some malware hides its account from the interface: wp user list --role=administrator, or a query on the wp_users and wp_usermeta tables, gives you the full list.
Note when the suspicious account was registered: it places the intrusion in time and points your search at the access logs, the plugin updates from that period, and any known flaws in a plugin you have installed.
Deleting the account is not enough
An administrator account an attacker created means they could run code or reach the database. Before you delete it, look for what it may have installed: plugins you do not recognise, PHP files added, extra users, options changed. As you delete it, reassign its content to a legitimate account so nothing is lost.
Then change every administrator password, the database password and the FTP or SSH credentials, and regenerate the keys and salts in wp-config.php, which signs out every open session. Turning two-factor authentication on for the privileged accounts cuts the chance of a repeat sharply.
Causes to check
For a fake WordPress administrator, the 4 causes below are ranked from the commonest to the rarest. Test the one matching the siteâs most recent change first, one at a time.
A compromised password
Account creation through a vulnerability
A back door recreating the user
Stolen database or hosting access
Search Console's Security Issues report, the server access logs, the user list, the recently changed files and the scheduled tasks all give precise dates. Keep that trail: it is how you find the way in.
A good fix does not merely make the symptom disappear. It explains why the problem appeared and how to check that it does not come back.
Precautions before starting
Take a full copy of the files and the database, then keep it aside as evidence: it must not serve as a restore point until the infection is understood.
Then change the administrator, FTP, database and hosting passwords, and rotate WordPress's security keys, to close the doors the attacker could use again.
Which cause best matches your situation?
Pick the situation closest to what you are seeing to get the first recommended action.
Want a human opinion on your exact situation?
Get a recommendationDiagnosis and fix
| Phase | Objective | A mistake to avoid |
|---|---|---|
| Observe | Reproduce it and gather the evidence | Changing several settings before you have a baseline |
| Isolate | Confirm the component or the rule responsible | Deleting files without keeping a copy |
| Fix | Apply the smallest documented change | Restoring a version that still contains the same cause |
| Validate | Test the whole journey and monitor it | Concluding from the home page loading alone |
How do I resolve a fake WordPress administrator step by step?
The 4 steps below tackle a fake WordPress administrator from the least intrusive to the heaviest. After each change, repeat the same test; if nothing changes, go back to the previous state before moving on to the next step.
- 01
Step 1
Document the account, its dates and its actions before deleting it.
- 02
Step 2
Revoke the sessions and change the passwords on every point of access.
- 03
Step 3
Look for the creation mechanism in the files, the cron jobs and the logs.
- 04
Step 4
Delete the account once its content has been reassigned deliberately.
If a step changes the database or the code directly, do it on a copy first. Once the fix is in place, the first check is still this: vĂ©rifier quâaucun compte ne rĂ©apparaĂźt.
Validate the resolution
After the clean-up, scan the files and the database again, review the administrator list, and test the redirects from several devices and from Google. Where Search Console reported a problem, request the review only once those checks are done.
Validation checks
Schedule a second integrity check a few days later: a back door you missed can reinfect the site after a clean-up that looked successful.
Prevent a recurrence
Prevention has to answer the cause you identified. For a fake WordPress administrator, the first measure is âTurn on two-factor authenticationâ; note too the signal that would have shown the incident sooner, and who is responsible for watching for it.
Turn on two-factor authentication
Keep the administrator role scarce
Alert on new accounts
Rotate shared credentials regularly
Delete the plugins you do not use, keep administrator accounts few, turn on two-factor authentication and monitor file changes. Security rests on those layers together, not on a single plugin.
Frequently asked questions about a fake WordPress administrator
The account is not in the list, is that possible?
Yes, some malware hides its account from the interface. The command wp user list --role=administrator over SSH, or a query on the user tables, gives the full list.
What happens to the deleted account's content?
As you delete it, WordPress offers to reassign its content to another account. Choose a legitimate one, then check that content: it may hold links or scripts the attacker added.
How do you stop new administrator accounts being created?
Check that public registration is off, or limited to the Subscriber role, in Settings > General, turn on two-factor authentication for administrators, and keep the plugins that manage accounts updated.
How do you check the fix will hold?
Check no account reappears. Review the role and email changes. Audit FTP, hosting, the database and Search Console. Then watch the logs, the alerts and the relevant metrics for several days.
How to resolve it
If a fake WordPress administrator persists after these steps, we can pick the diagnosis up again from your logs and your access details, without acting blind on the site.
Get a diagnosisSummary with an AI
Choose your assistant: the request is prefilled where that is possible, and always copied, ready to paste if need be.

































đȘ