Skip to main content

Creating a New WordPress User

Adding a New User in WordPress Dashboard

  1. Log in and view the admin panel of your WordPress site.

  2. Click Users > Add User in the panel on the left side of the interface.

  3. Enter the new user's username and email address. Do note that neither of these can be changed later.

  4. Select the desired role for the new user and click the Add User button.

  5. The user will receive an email with password instructions.

  6. Remember to ensure the user will practice good password hygiene!

Don't see the tab in the Dashboard? Make sure you're logged in as an administrator level user.

Adding a New User with WP-CLI

  1. Run the following command:

    wp user create example [email protected] --role=subscriber --send-email

    First "example" is the user's username, following their email address. Do note that neither of these can be changed later. Possible values for the role are "administrator", "editor", "author", "contributor" and "subscriber".

  2. The command will print the set password but the user will also receive an email with password instructions. If you don't want to print the password, use --porcelain flag.

  3. Remember to ensure the user will practice good password hygiene!

More about different roles and their capabilities can be read from WordPress.org's documentation!

Did this answer your question?