Blog / WordPress /

Planning a safe cleanup of unused WordPress user accounts

You open the Users screen and find forty accounts. Half the names mean nothing to you. Delete the lot and sleep better? Not so fast.

An unused account is a security risk. But delete one without checking and you can break publishing, an integration or your own way back into the site.

Start with an inventory: who owns each account, what role it has, when it was last used and whether any content or system depends on it. “Inactive” doesn’t always mean “unneeded”. A service account may be working in the background while nobody signs in.

Review accounts before changing them

Export the user list and record usernames, emails, roles and any activity data admins can see. Work out whether each account belongs to current staff, a former contractor, a client, an agency or an automated service. Check the organisation’s access policy before sharing personal information from the list.

Ask the site owner to confirm who should keep access, and don’t call an account unused from an old last-login date alone. Some people publish rarely and some integrations sign in quietly in the background. Check plugin documentation and connected services for accounts behind an API, scheduled task or external workflow. When I pick up a client site, the user list is one of the first things I review.

Look for shared accounts, generic emails and administrator privileges that are broader than needed. Shared credentials make it impossible to know who changed what. I’d rather see named accounts with narrow roles than one admin login everybody knows.

Preserve content ownership

Posts and pages may be attributed to the user you’re removing. Before deleting, decide whether to reassign the content to another author, keep it under a former contributor or follow the site’s editorial policy. Depending on the option you pick, deleting a user can change attribution or remove content.

Export or review the account’s published content and scheduled posts. Confirm that drafts, media uploads or private pages are not left without an owner. If the person’s content has legal, contractual or editorial significance, consult the responsible owner before changing attribution.

Do not use a current editor’s name as a convenient replacement without agreement. Authorship matters to readers and internal accountability. A neutral organisational author may be appropriate for some content, but the policy should be consistent.

Plan the change safely

I always take a backup before touching users, even for a quick tidy, and more so if the site has custom roles or integrations. Test on staging if you can. Confirm at least one authorised administrator remains, and that password recovery details are current and controlled by the organisation.

Revoke access in a controlled order. For a former employee, follow the offboarding process and remove access from connected services as well as WordPress. For an agency or contractor, confirm the client owns the essential accounts before you disable the provider. Never leave a former maintainer as the only person who can recover the site.

If there is uncertainty about a service account, disable it temporarily only when a rollback and monitoring plan exist. Watch the relevant integration and restore access if a critical process fails. For high-risk sites, have a qualified administrator assess the dependency before changing it.

Keep an access review record

Record the account, decision, date, approver and any reassignment or integration check. Do not put passwords in the record. Keep the note in the approved system and limit access to people who need it.

Schedule a regular review and link it to staff or vendor changes. Access cleanup is easier when accounts are removed promptly through an agreed process rather than accumulated for years.

Check whether the account is truly inactive

Look beyond the visible last-login field. A user may own scheduled posts, API keys, application passwords, form notifications or an integration credential. Check the WordPress roles and connected plugins, then ask the system owner whether the account is still part of a workflow. Do not probe or access someone’s mailbox to confirm an address unless you have the authority and a documented reason.

Review application passwords and tokens separately from the user interface. If a former employee’s credentials were used by an integration, create a replacement under an appropriate service owner, test it and revoke the old token. A username that has not logged in through the dashboard can still be used by an automated client.

For accounts tied to a staff departure, follow the organisation’s offboarding policy and timing. Remove access promptly when required, but coordinate with whoever manages content and integrations so ownership does not disappear. If there is any concern about unauthorised access, preserve relevant logs and use the security incident process rather than treating the task as routine housekeeping.

After cleanup, test login recovery and confirm the administrator roster is still valid. Keep at least one account under the organisation’s control with secure recovery details. Record the review date and next review trigger, such as a team or vendor change.

Automate the next review carefully

If the site has many users, create a recurring access review that lists accounts by role and owner. Ask the current team lead to confirm who still needs access, but do not send the full user list to people who do not need it. Use a secure process and record only the decision and necessary account identifier.

When a role changes, review permissions in connected services as well as WordPress. A person may have a separate login for hosting, email delivery, analytics or a plugin vendor. Removing one CMS account does not revoke those other permissions. Conversely, deleting a WordPress account may break a workflow that relies on its application password.

After the review, check the audit log or account list to confirm the change was applied. If the site uses single sign-on, coordinate with the identity administrator so account status remains consistent. Set a reminder to review the access list after the next vendor or staff transition.

Before you delete the next WordPress account, can you say who owns its content and whether any system still depends on it?