Skip to content
Guides

Adding users and setting roles in WordPress: Everything you need to know

More than one person will probably work on your website. That’s why WordPress lets you add multiple users and offers two ways to register them. In this article we explain both step by step, and why it’s important to assign user roles and permissions correctly.

Pridávanie používateľov a nastavovanie rolí vo WordPress

More than one person will probably work on your website. That’s why WordPress lets you add multiple users and offers two ways to register them. In this article we explain both options step by step. You’ll also learn why it’s important to assign user roles and permissions correctly.

User roles and their permissions

Before we show you how to add new users, it’s important to understand user roles. WordPress has several default user roles that determine what users are allowed to do and how much access they have on the website. Knowing these roles is essential for managing access and keeping your website secure.

Let’s go through the individual user levels and permissions you can assign to a user in WordPress.

  • Administrator - Has unlimited permissions to manage the whole website, such as installing themes and plugins and editing content and settings. It is the highest role.
  • Editor - Can manage all content on the website – write, edit and publish posts, pages and media files. However, they can’t change website settings or install themes and plugins.
  • Author - Can write, edit and publish their own posts, but can’t edit other users’ content.
  • Contributor - Can only write and edit their own posts, but can’t publish them. Their posts must be approved by an editor or administrator.
  • Subscriber - Has the lowest permissions. Can only read content on the website, update their profile and possibly leave comments.

WooCommerce user roles

If you use the WooCommerce add-on for online stores, you will also find these user roles in WordPress.

  • Customer - This role is automatically assigned to a new user created when an order is completed. It is similar to the basic Subscriber role.
  • Shop manager - Gives the user access to the WooCommerce store (creating and editing products, access to analytics, etc.).

Why user roles matter in WordPress:

Access control - Lets you limit what different users can do on the website, such as adding/editing content or changing settings. This improves security and keeps work organised.
Division of tasks
- Different roles (author, editor, contributor) let you assign specific tasks to different team members according to their responsibilities.
Approval hierarchy
- Content from lower roles (contributors) must be approved by higher roles (editors) before publishing. This keeps content consistent and high-quality.

Role permissions

You can change the rights (capabilities) of individual roles with the User Role Editor plugin. It lets you modify the permissions of existing roles and create new ones. The free version includes only these basic features. The paid version adds support and extended features, such as integration with plugins like WooCommerce, Membership and others, or exporting and importing user roles between WordPress websites.

How to add a new user

First, let’s see how to add a new user to WordPress manually.

Adding a new user manually

  1. Log in to the WordPress dashboard
  2. In the left sidebar, choose Users → Add New User.
How to manually add a new user in WordPress
How to manually add a new user in WordPress
  1. Fill in the required fields: Username and email.
  2. It’s a good idea to fill in First Name and Last Name, for example if the new user will write blog posts and you show author names on your website.
  3. If you don’t set a password for the user, WordPress generates one automatically. The new user can change it at any time in their profile.
  4. Tick Send the new user an email about their account. An invitation to WordPress will be sent to the email address, asking the user to set a password. They can then go straight to the dashboard via the WordPress login page.
  5. Assign the user a role and the related level of permissions. The default is the lowest level – subscriber.
  6. Click the Add New User button.
Filling in the Add New User form in WordPress
Filling in the Add New User form in WordPress

Adding a new user via the registration form

For a new user to be able to register themselves, you need to enable this feature in the WordPress dashboard as follows:

  1. In the left sidebar, choose Settings → General
How to allow new user registration in WordPress
How to allow new user registration in WordPress
  1. In the Membership row, tick Anyone can register
  2. Choose the default role for new users.
Setting up new user registration and the default role in WordPress
Setting up new user registration and the default role in WordPress
  1. Click Save Changes.
Saving the new user registration settings in WordPress
Saving the new user registration settings in WordPress

How a user registers

Once the WordPress administrator allows new members to register, new members (users) can sign up as follows:

  1. The user clicks Register on your website and is redirected to the registration form. If there is no visible registration link on the WordPress website, a new member can register using the direct address of the registration page. The default registration URL in WordPress is: your-domain.com/wp-login.php?action=register. Replace your-domain.com with your website’s address, e.g.: wpdeals.top/wp-login.php?action=register.
New user registration in WordPress
New user registration in WordPress
  1. In the registration form, the user fills in their Username and email address.
  2. After filling in the details, the user confirms the registration by clicking Register. Once the administrator approves the request, the new user receives an email about the activation of their account and their assigned rights/role.
Filling in the registration details of a new user on your WordPress website
Filling in the registration details of a new user on your WordPress website

WARNING: Open registration comes with certain security risks. If you only need a few users, create them manually and keep registration turned off.

Conclusion

Correctly set user roles and permissions in WordPress improve security, efficiency, clarity and control over your website. They are an essential part of running any website with multiple users.

Author

Martin Pavelka

  • Guides

    How to install and activate a WordPress theme?

    Want to know how to install a theme in your WordPress quickly and easily? Then you’re in the right place! In this article we’ll show you step by step that it’s not rocket science, even if you’re a complete WordPress beginner.

    · 8 min read

  • Guides

    Ajax search without a WordPress plugin

    WordPress comes with a simple built-in search you can use on your website. A more elegant and faster option is Ajax search, which loads results without reloading the whole page.

    · 8 min read

  • Guides

    How to install a plugin in WordPress?

    WordPress plugins can be installed in several ways. In this guide we will show you two simple ways to install a plugin from the WordPress dashboard that even a complete beginner can handle.

    · 2 min read