InMotion Hosting Support Center

In this article I'll discuss how you can update and change your WordPress admin username, as this can be a great security measure to help prevent unauthorized access to your WordPress admin dashboard.

This is a good security measure to help protect against the recent global WordPress wp-login.php brute force attack that has been ongoing for the last few days affecting multiple web hosts.

Update Wordpress admin username

Using the steps below, I'll show you how easy it is to add a new WordPress administrator user, delete your old non-secure default admin one, and then assign or attribute all of the old user's posts to your new secure user.

  1. click on add new userFrom the left-hand menu, hover over Users, then click on Add New
  2. fill in new admin details click add new userFill in all of the user fields with new info.

    Then select Administrator from the Role drop-down.

    Finally click on Add New User.

  3. new user created confirmedYou should now see your new admin user you just created.
  4. hover over admin click log outHover over Howdy, admin at the top-right.

    Then click on Log Out

  5. type in new admin username click log inNow type in your new WordPress admin username and password and click Log In
  6. click on usersFrom the left-hand menu click on Users
  7. click on delete beside admin

    Prior to deleting your old admin user, I'd recommend you backup your WordPress database in cPanel just in case.

    Hover over the old admin user, then click Delete.

  8. select attribute posts to and confirm deletion

    BE CAREFUL! Deleting your old WordPress admin user, without attributing its posts to your new admin user will delete all those posts!

    Now select your new admin user from the Attribute all posts drop-down, and click on Confirm Deletion.


  9. user deleted new user leftYou should now see the old admin user has been deleted, and you should only be left with the new administrator user, will all the old posts attributed to it.


You should now understand how you can easily update and change your WordPress admin username, so that you're better protected against common brute force attempts at gaining access to your WordPress website.

Support Center Login

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2014-06-16 1:57 am

Its nice tutorial.  Thanks

n/a Points
2014-09-15 5:07 pm

I'm trying to change the admin user name, but would like to keep the same email address. It won't let me do this--wants me to supply a different email as this email is "already registered". Any suggestions?

32,263 Points
2014-09-15 5:34 pm
Hello Treeleaf,

Thanks for the question! I suggest that you modify the email address of the original administrator user. You can then create your new admin user and then use the email address that you wish to you use. You can't have administrators with the same email address unfortunately. However, you can create email forwarders for any new email address that you create and automatically forward email to a central email address . So, even if you have multiple administrators, if an email is sent to one, it will be sent to the central email assigned to each forward.

I hope this is helps to resolve the issue for you. Please let us now if you have any further questions or comments.
Arnel C.
n/a Points
2014-10-24 12:30 am
Enough said: Magnificent!
n/a Points
2014-12-23 6:16 pm

This works as of december 23 2015

n/a Points
2015-07-05 1:18 pm

Does the new user precisely have all the privileges the old one had?

Nothing to lose?

32,263 Points
2015-07-06 10:58 am
Hello Mohammad,

If you're referring to the admin user that's referred to in this article,then "yes" the privileges remain the same. We're simply re-naming the admin user.

I hope this helps to answer your question, please let us know if you require any further assistance.

Arnel C.
n/a Points
2015-10-17 4:48 pm

Hi,Thank you very much. This tutorial is very helpful.RegardsAndrea

n/a Points
2015-10-31 1:39 pm

Thanks a lot really useful!

n/a Points
2015-12-16 1:18 am

Superb ..Thanks A Lot !!!

n/a Points
2015-12-31 8:28 am

great Tutorial.. thanks a lot and a happy new 2016 year


Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

12 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!