Articles to help you manage and use your website effectively
Changing Your Admin User Name In WordPress To A Different User Name
For security reasons, you should never install WordPress sites using the user name "admin".
This is the default installation username for WordPress and one of the leading causes of brute force attacks on the WordPress platform.
In this step-by-step tutorial, we'll show you how to change your WordPress admin username from 'admin' to a more secure username.
How To Change Your Username in WordPress Step by Step
Normally, with all new WordPress installations, the first user is the admin of the website or blog.
Having the default WordPress username admin is not recommended, as it poses a security risk to your WordPress site ...
Let's change your WordPress admin username to a more secure username.
There are several ways to access your "Profile" section and view your username details inside WordPress:
Select the Users > All Users section in your main menu ...
Click on the user name, or the Edit link when hovering over the username with your mouse ...
Or, select Edit My Profile from the "Howdy, User" menu at the top-right hand corner of your Dashboard ...
You can also go to your "Profile" section by selecting Users > Your Profile from your admin sidebar menu.
What you will see in the Profile page, however, is that your user name can't be changed inside your Dashboard ...
So, how can you edit a admin username?
If your WordPress user name is "admin," here's the easiest way to change your user name without going into your server:
First, create a new user ...
Next, create a more secure username, and assign this new user the role of "Administrator". Remember to save your changes to update your settings ...
You have now added a new user with the role of admin ...
Logout of your WordPress admin area ...
Log in with the new admin details for the user you have just created ...
You should see your new username details in the "Howdy, User" screen ...
Select Users > All Users in the main menu ...
You can now delete the old administrator account ...
Select the option to attribute all content owned by the old user account and reassigned it to the new admin, then confirm the deletion of the old account ...
You are now left with only the new Admin account, effectively changing your WordPress admin user name ...
Although this tutorial is mostly aimed for non-technical WordPress users, let's go one step further and show you how to change your username inside the WordPress database.
All you need is access to your server.
Changing Your User Name Inside The WordPress Database
In the example below, the server uses cPanel ...
cPanel
Log into your server control panel ...
cPanel administration area
Navigate to the "Databases" section and click on phpMyAdmin ...
phpMyAdmin
Click on your WordPress database.
Note: If you have a number of databases set up on your domain, make sure you choose the correct one ...
phpMyAdmin databases
Don't worry about the complicated-looking screen.
Click on wp_users ...
The user name is located in the "user login" column. To edit the field just double-click on this text you want to change ...
Type in the new user name and click outside the edit box to update the field with a new user name ...
Log out of your server if you're finished and reopen the browser to your WordPress site. You will probably find that your session is expired. If so, log in again with your new Admin user name and password ...
You will see that your user name has been updated. However, it will probably still be displaying the old "nickname" ...
To edit the "nickname", visit your Users area and click the Edit link below the user name ...
You can also reach the Profile section by clicking on the Edit My Profile link in the "Howdy, User" screen ...
Select a new name to display publicly from the drop-down menu ...
Note: You can also create a new Nickname in the Nickname field and it will then be available for selection in the Display name publicly as dropdown menu ...
Click Update Profile to save your new settings ...
You admin area is now updated with a new user name and nickname ...
Congratulations! Now you know how to change your WordPress admin user name on your website or blog.
---- Other Articles You Might Find Useful ---
Want to launch a blog? Read this Guide