How to create WordPress users and choose the right role
To create a user in WordPress, log in to the dashboard, go to Users > Add New, fill in a username, email, and password, and choose a role. The role defines what the person can do: an administrator controls the whole site, an editor manages all the content, an author publishes their own posts, a contributor writes but can’t publish, and a subscriber only manages their own profile.
This article is for anyone who runs a WordPress site and needs to give access to others, such as a writer, designer, client, or team member. It shows what each role allows, how to add, change, and remove users, and which security precautions are worth taking.
What are the WordPress user roles?
WordPress comes with five standard roles on a regular site. Each one includes the permissions of the one before it, except for the subscriber and contributor roles, which are very limited.
| Role | What they can do | Who it’s for |
|---|---|---|
| Administrator | Everything: install plugins and themes, change settings, manage users and all content | The site owner and technical manager |
| Editor | Create, edit, publish, and delete posts and pages from any user, moderate comments, manage categories | Whoever coordinates the content |
| Author | Write, publish, edit, and delete their own posts, and upload media files | Trusted writers |
| Contributor | Write and edit their own posts, but can’t publish or upload files | Writers whose work goes through review |
| Subscriber | Read content and edit their own profile | Registered visitors, members, clients of a restricted area |
In a multisite installation (a network of sites), there’s also the super administrator, who manages the entire network. On a regular site, this role doesn’t appear.
Plugins such as online stores and online course platforms often create their own roles, such as “Customer” or “Student”. They appear in the same list of roles and follow the rules set by the plugin.
How to add a new user in WordPress
- Log in to the dashboard at
yourdomain.com/wp-admin. - In the side menu, click Users > Add New.
- Fill in the Username and Email. Both fields are required.
- If you want, fill in the first name, last name, and website.
- Choose a strong Password. WordPress suggests one, which you can accept.
- Leave the option to send the notification to the new user checked, so they receive the account creation notice by email.
- In the Role field, choose the appropriate role and click Add New User.
The username can’t be changed later from the standard WordPress dashboard. If the person needs a different name, the usual path is to create a new user and delete the old one, transferring its content to the new user.
How to choose the right role
Give each person the lowest role that lets them do their job. This is the principle of least privilege, and it’s the best defense against mistakes and break-ins.
- Only needs to write articles and someone reviews them? Contributor.
- Writes and publishes on their own? Author.
- Oversees all posts and pages, but shouldn’t touch plugins or themes? Editor.
- Will install plugins, change the theme, or configure the site? Administrator, and only if it’s really necessary.
- Only needs a login to view restricted content or to comment? Subscriber.
A common mistake is giving administrator access to freelancers, agencies, and contractors “to make things easier.” An administrator can install a plugin, delete the site, and create other administrators. If it’s truly necessary, create the account, agree on a deadline for the work, and remove or demote the user when the job is done.
How to change a user’s role
- Go to Users > All Users.
- Hover over the user and click Edit.
- In the Role field, choose the new role and click Update User.
To change several users at once, check them in the list, use the Change role to… menu above the table, and click Change. You can’t demote your own user from this list; do it from another administrator’s account.
How to remove a user without losing content
- Go to Users > All Users.
- Hover over the user and click Delete.
- WordPress asks what to do with their content. Choose Attribute all content to another user to keep their posts and pages. Choosing to delete the content removes their posts.
- Confirm with Confirm Deletion.
Deletion has no trash. Before deleting a user with a lot of content, make a copy of the site and database. If the person has only left the team, a safer alternative is to change their password and demote them to subscriber, without deleting anything.
Security best practices for users
- Avoid the username
admin. It’s the first one bots try. Use a name that isn’t obvious. - Use long, unique passwords for each person, preferably with a password manager. See also how to recover the WordPress administrator password if someone loses access.
- One account per person. Don’t share the same login among several team members: you lose track of who did what.
- Keep the number of administrators low. Two at most on most sites: the owner and one trusted technical manager.
- Review the user list regularly. An administrator you didn’t create can be a sign of a break-in. In that case, see how to use AI to remove viruses from a WordPress site.
- Keep everything up to date. Outdated plugins and themes are a common entry point. The steps are in how to update WordPress, themes, and plugins safely.
- Consider two-factor authentication for administrators and editors, using a trusted plugin.
Be careful with open registration
In Settings > General, the option Anyone can register lets visitors create accounts on their own. If you use it, keep the New User Default Role set to Subscriber. Setting a higher role there gives editing powers to anyone who signs up. If your site doesn’t need public registration, leave the option unchecked.
Frequently asked questions
What’s the difference between an editor and an administrator in WordPress?
The editor manages all the content (posts, pages, categories, and comments), but doesn’t install plugins or themes and doesn’t change the site’s settings. The administrator can do all of that and also manage other users.
What’s the difference between an author and a contributor?
The author publishes their own posts and uploads images and files. The contributor writes and edits their own posts but can’t publish: the text stays as a draft or pending review until an editor or administrator reviews and publishes it.
Can I create a user without sending them an email?
Yes. In the Add New form, uncheck the option to send the notification. In that case, you need to pass the username and password to them through another secure channel.
How do I change my username in WordPress?
The standard dashboard doesn’t allow changing the username. What you can change is the Public display name, under Users > Profile. If the username itself needs to change, create a new user and transfer the old user’s content to it when you delete the old account.
What happens to posts when I delete a user?
WordPress asks where the content should go. If you attribute it to another user, the posts and pages stay published under the new author. If you choose to delete the content, it’s removed along with the user. Make a copy before you confirm.
How many administrators should a site have?
As few as possible: for most sites, one or two. Everyone else should have the role the job requires, such as editor, author, or contributor, and the list should be reviewed from time to time.
I lost my administrator access. How do I create another one?
First try to recover the password by email, through Softaculous, or through phpMyAdmin, as the article on recovering the administrator password shows. If you can’t access cPanel either, get in touch with MigraCloud to recover access to your hosting.