How to Change Your WordPress Login Username
There are several options for creating a new username in WordPress if you do not want to use its default login username. This article discusses the different methods on how to change the WordPress username.
Please click the links below to see each option's instructions.
Option 1: Via the 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 in Option 2 to edit your username through phpMyAdmin.
- Log in to WordPress Dashboard by going to:
Replace example.com with your actual domain name.
- Navigate to the Users sections, then click on Add New.
- You will be redirected to the Add New User page. Fill out the required information below.
- Create a new Username.
- Enter your Email address.
- Complete the fields for first name, last name, and website.
- Create a new password and enter it in the next two fields.
- Check the box to Send Password to the new user via email.
- Select the role of the new user.
Click Add New User.
To know more about WordPress User Roles, please check out our blog: How To Use WordPress User Roles To Improve Security.
Option 2: 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.
- Log in to cPanel.
- In the Files section, then click on the File Manager icon.
- Click on the Settings button on the top-right corner.
- From the pop-up screen, select Document Root, then choose your WordPress domain name.
- Check the box for Show Hidden Files (dotfiles).
- Click Save.
Back to the File Manager, please do the following:
- Look for the wp-config.php file.
- Right-click and select Code Edit
- Click Edit when the screen pops up.
- Take note of the database name. It will look similar to this:
(Domain will be a prefixed form of the actual domain name or cPanel username being used.)
Go back to the cPanel homepage, then proceed with the following instructions.
- In the Databases section, click phpMyAdmin.
- From the left-hand navigation menu, click on the appropriate database name from Step 10.
- From the left-hand navigation menu, click wp_users.
- In the table next to the database login information, click Edit.
- Locate the user_login column, click on your current username and change the name to something you prefer.
- Click Go.
You should now be able to log in to your WordPress site with your new username.
Option 3: Via Softaculous
- Log in to your cPanel.
- Look for the Software section, then click on Softaculous Apps Installer.
- This will open the Softaculous interface. At the top of the page, it will present you with options for your installed scripts. Click on the Installations box.
- Locate the domain you wish to update, then click the pencil icon.
- Navigate to the Admin Account box, then enter the desired username in the Sign-on Username box.