How To Change The Admin Username In WordPress

The default WordPress username admin poses a security risk to your WordPress site. Learn how to change the admin username in WordPress for improved security.

WordPress TutorialFor web security purposes, avoid installing WordPress sites using the username “admin”.

This is the default installation username for WordPress and one of the first things that hackers look for when attempting to break into the WordPress CMS.

Changing Your WP Admin Username To A Different User Name

In this tutorial for non-technical users, you will learn how to change the WordPress admin username to a more secure username.

How To Change Your Admin User Name In WordPress

Typically, in all new WordPress site installations, the first registered user is also the admin.

The default WordPress user name admin is not recommended, as it can out your site at risk …

Changing Your WordPress User Name From Admin To A Different User Name

Let’s change your WordPress admin user name to a more secure user name.

There are a number of ways to access your “Profile” section and view your user name details inside WordPress:

Select the Users > All Users screen in your main menu …

How To Change Your WP User Name From Admin To A Different User Name

Click either on the user name, or the Edit link when hovering over the user name with your mouse …

Changing Your WP Admin User Name To Another Username

Or, select Edit My Profile from the “Howdy, User” drop-down menu at the top-right hand corner of your Dashboard …

How To Change Your WP Username From Admin To A Different User Name

You can also access your “Profile” area by selecting Users > Your Profile from your admin sidebar menu.

You will see in the Profile area that usernames cannot be changed inside the Dashboard …

Changing Your Admin Username In WordPress

So, how can you edit the admin username?

If your user name is “admin,” here’s the easiest way to change your user name without accessing your server and altering your server files or your WordPress database:

Click Add New to add a new user …

Changing Your Admin User Name In WordPress

Next, create a new username, and assign the new user account the role of “Administrator”. Remember to save your changes in order to update your settings …

How To Change Your WordPress Username From Admin To A More Secure User Name

You You have now created a new admin user …

How To Change Your WordPress User Name From Admin To Another Username

Log out of your WordPress admin area …

Changing Your Admin Username In WordPress To A Different Username

Log in with your new admin details …

Changing Your Admin Username In WordPress

You should see your new user name details displayed in the “Howdy, User” screen …

Changing Your WP Username From Admin To A More Secure Username

Click on Users > All Users in the main menu …

How To Change Your WP Admin User Name To A More Secure Username

You can now delete the old administrator account …

How To Change Your WordPress Admin Username To Another User Name

Choose the option to assign all content owned by the old user account and reassigned it to the new user, then confirm the deletion of the old user account …

How To Change Your Admin Username In WordPress

You are now left with only the new Admin account, effectively changing your WordPress admin username …

How To Change Your Admin User Name In WordPress To Another User Name

Info

Although this tutorial is mostly designed for non-technical WordPress users, let’s go one step further and show you how to change your WordPress user name inside the WordPress database.

All you need is admin access to your server’s control panel.

Tip

help To learn how to search and replace content in your WordPress database without touching code or editing WordPress database tables, see the tutorial below:

redarrow How To Do A Global Search And Replace In WordPress

Changing Your User Name Inside The WordPress Database

For the example below, the server is using the cPanel management tool …

Changing Your WP User Name From Admin To A More Secure Username

cPanel

Log into your server control panel …

How To Change Your WP Admin Username To A More Secure Username

cPanel admin area

Find the “Databases” section and open up phpMyAdmin

Changing Your Admin User Name In WordPress To Another Username

phpMyAdmin

Open up your WP database.

Note: If you have a number of databases set up on your domain, make sure that you choose the correct one …

How To Change Your WordPress User Name From Admin To A Different User Name

phpMyAdmin databases

Don’t panic when you see the complicated-looking information on your screen screen.

Click on wp_users in the “Table” column on the left-hand side …

Changing Your Admin User Name In WordPress To A Different Username

The user name is located in the “user login” column. To edit the username simply double-click on the text you want to change …

How To Change Your WP Username From Admin To Another User Name

Type in the new user name and click outside the edit box to update the field with a new user name …

Changing Your WP Admin User Name To A More Secure Username

Log out of your server when you’re done and return to your WordPress site. You may find that your session has expired. If so, log in again with your new Admin user name and password …

Changing Your Admin User Name In WordPress To A Different Username

You will see that the username has been updated. However, your site will probably still display the old “nickname” …

How To Change Your WP User Name From Admin To Another Username

To change your “nickname”, open your Users section and click the Edit link below the user name …

How To Change Your WordPress Admin User Name

You can also reach your Profile section by clicking on the Edit My Profile link in the “Howdy, User” panel …

How To Change Your WordPress Username From Admin To A More Secure User Name

Choose a new name to display publicly from the drop-down menu …

Changing Your WordPress Admin User Name To Another User Name

Useful Tip

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 drop-down menu …

How To Change Your Admin User Name In WordPress To Another Username

Click Update Profile to save your new settings …

How To Change Your Admin User Name In WordPress To A Different Username

You admin area is now updated with a new user name and nickname …

How To Change Your WP Admin User Name

Congratulations! Now you know how to change the WordPress admin user name on your website or blog.

How To Change Your WP Admin User Name

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

Disclaimer: We have no association with WordPress, Automattic, or any of the products reviewed on this site. We may derive a financial benefit from the purchase of third-party services and products mentioned on this website. All product images are the copyright of their respective owners and are used only for illustrative or training purposes.

***

Did you enjoy this post? Please feel free to use the social links below and share this article with anyone thinking of starting their own business online.

Author: Martin Aranovitch

WPCompendium.org provides hundreds of FREE WordPress tutorials for beginners. Our detailed step-by-step tutorials will save you money and teach you how to start, manage, and grow a website or blog using WordPress that puts you in complete control and delivers results with no coding skills required!