A Site Administrator can remove a WordPress user from the site while preserving their existing content, such as posts, pages, and media. This process ensures that the user no longer has access to the WordPress dashboard while their contributions remain visible on the website.
Before you begin
You will need:
Site Administrator access to the WordPress dashboard.
The username or email address of the account you wish to remove.
Remove a user while preserving content
To remove a user without deleting their content, you must first reassign their content to a different, active administrator or editor account.
Log in to the WordPress dashboard.
Navigate to Users > All Users.
Locate the user you want to remove and click Edit (or Profile).
Scroll down to the Author section.
Change the Author dropdown selection to a different, active account.
Click Update User.
Once the content is reassigned, return to the Users > All Users page.
Find the original user again and click Delete (or Delete User).
When prompted with a warning regarding the user's content, select the option to Attribute all content to [Name of the new owner].
Click Confirm Deletion.
Confirm the result
The user will no longer appear in the Users list in the WordPress dashboard.
The content previously owned by that user will still appear on the site, now attributed to the account you selected in step 5.
Limitations
This process does not delete the user's uploaded media (images, videos, etc.) from the Media Library. Because WordPress associates media with the account that uploaded it, the files will remain in the library but will be associated with the new owner's account after the deletion.
