How to Change Your WordPress Login Username

If you do not want to use the default login username for WordPress, there are two options for creating a new username either through your WordPress Dashboard or through phpMyAdmin in cPanel.

We recommend making a backup of your WordPress from within the WordPress dashboard before modifying the database. For instructions on how to backup WordPress, please refer to the following article from WordPress: WordPress Backups.

Option 1: Create a New WordPress User via WordPress Dashboard

This option will create an additional WordPress user since you cannot edit a username from within the WordPress Dashboard. If you do not wish to create an additional user, follow the instructions below See Below to edit your username through phpMyAdmin.

  1. Log into WordPress Dashboard by going to:
    https://example.com/wp-admin
    or
    https://example.com/wp-login.php
    • Replace example.com with your actual domain name.
  2. From the left navigation menu, click Users > Add New.
  3. Create a new Username.
  4. Enter your email address.
  5. Complete the fields for first name, last name and website.
  6. Create a new password and enter it in the next two fields.
  7. Check the box to Send Password to new user via email.
  8. Select role of new user.
  9. Click Add New User.

Option 2: Edit WordPress Username via phpMyAdmin

To edit your WordPress login username in phpMyAdmin, find out which database is associated with the installation of WordPress that you wish to change; then follow the instructions below.

  1. Log in to cPanel.
  2. In the Files section, click File Manager.
  3. From the Directory Selection popup screen, select Web Root (public_html).
  4. Check the box for Show Hidden Files (dotfiles).
  5. Click Go.

In the File Manager:

  1. Navigate to the wp-config.php file.
  2. Highlight file, right click and select Code Edit.
  3. Click Edit when the screen pops up.
  4. Make note of the database name. It will look similar to this:

    define('DB_NAME', 'domain_wrdp1')

    (Domain will be a prefix form of the actual domain name or cPanel username being used.)

Go back to cPanel:

  1. In the Databases section, click phpMyAdmin.
  2. From the left-hand navigation menu, click on the appropriate database name.
  3. From the left-hand navigation menu, click wp_users.
  4. In the table, next to the database login information, click Edit.
  5. In the user_login column, click on your current username and change the name to something you prefer.
  6. Click Go.

You should now be able to log into your WordPress site with your new username.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why Videos Should Never be Uploaded to WordPress

  Video content can make a website a lot more interesting by adding additional value to a...

Optimizing WordPress

WordPress is currently one of the most popular blogging/CMS applications in use on our servers....

WordPress Home Fix

If the links in your blog show the wrong domain, redirect to another site or if they are...

How to Login to WordPress

Logging in to WordPress is as simple as visiting your WordPress dashboard URL.   Note: Your...

How to Install WordPress

WordPress is one of the most popular blogging platforms around for good reason. It is easy to...