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.

Are you interested in unleashing the power of WordPress? Our managed platform for WordPress is fine-tuned to deliver superior performance, security, and provide best-in-class hosting. Be sure to check out our WordPress hosting plans.

Was this article helpful?

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

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2019-01-24 7:18 am



I have, I think, a different issue... 


My site started to not recognize my administrator username with administrator privilegies!

I log in as a administrator but it don't recognizes...


In users's list, I see my user as a administrator, but I haven't administrator privilegies, for example, install plugins, upgrade Wordpress core... The message is shown: Contact the administrator of the site! Whaaaaaat??? I really don't know what's goingo on...


Do you know something about that?! Thank you very much!

31,595 Points
2019-01-24 11:08 am
I recommend following our WordPress Troubleshooting guide to narrow the cause down further.
Thank you,
n/a Points
2019-01-23 3:42 am

I changed the usename and now when I search my page on google it shows the site with old username and opening that is showing nothing found and then i have to change the name of the user in the link or directly type the whole website name so basically I lost the first page of goole because I changed the username, feeling sad a bit

42,943 Points
2019-01-23 12:43 pm
Changing a user name does not affect the search results in a search engine. If you're seeing that happen, then you changed something more than just the user name. You will need to consult with a web developer or even contact Google for assistance if you are seeing a change in search results because of a username change.
n/a Points
2018-04-15 8:37 am

Hi, I have just watched your video on youtube how to change Wordpress username by adding a new user. I did exactly how you showed, pretty simple, but right after it, now I can't log in with either username. Both case it's saying incorrect password. I'm 100% sure that I entered correct usernames & password.. Why did it happen? How can I recover it? Please help. Thanks

3,844 Points
2018-04-16 10:37 am
I'm sorry to see that you are experiencing difficulty with this. I recommend resetting the admin password. Follow the instructions in the database section to obtain the correct username, if there is uncertainty. I hope this helps!
n/a Points
2018-03-23 11:40 pm

That is one of the best tutorials I have seen from Inmotion. Thank you!

11,043 Points
2018-03-26 9:20 am
Great! We're glad you found so much value in this tutorial. Let us know if you have any further questions.
n/a Points
2017-11-08 12:14 pm

Easy to follow instructions and right to the point. Exactly what I was looking for. Thank you!

n/a Points
2017-10-26 12:35 am

I have feen fretting over how to change this for weeks, Jacob.

Thank you so much.  --  Bob

n/a Points
2017-04-19 6:22 pm

HiI'm s using mamp as local host, and i'm having some troubles with it: I can't recover my wordpress password by setting a new one on phpMyadmin. It shows that the password row has been updated to the new one I chose, but it is not recognized by when i try to log in. Can't figure out what may be the problem. I'm giving up on hosting my site on MAMP. I've seen that I can create a new database with cPanel, since I'm paying for hosting service from namecheap.  What do you suggest for starting a new project from zero? Thanks a lot!

31,595 Points
2017-04-20 11:31 am
Keep in mind that MAMP is hosted on your local computer only, so changes there will not be reflected on If your host offers Softaculous like us, you can easily install WordPress with one click. If not, you can always install WordPress manually.

Thank you,
n/a Points
2017-04-20 6:27 pm

Thanks for your prompt reply, John-Paul. Keeping in mind what you said, i don't understand why I was able to change wordpress password from localhost once? On the other hand, i tried the one click installation with Softaculous, apparently everything went well, but when i try to see my site following a URL like this it appears this message: "This page isn’t working didn’t send any data. ERR_EMPTY_RESPONSE?Any suggestions? Thanks for your help!


2,858 Points
2017-04-21 10:34 am
Luis, have you made any local host file modifications related to your domain? What is your actual domain that is having the issue?
n/a Points
2017-01-28 3:23 pm

Hi, Thanks for the nice video. Just one question, if you installed Wordpress as admin then all files are owned by admin. Will they change to the new user/owner you entered in WP? If not you might run into permission problems ...CheersOliver

43,761 Points
2017-01-30 3:52 pm
In step 8 above you will attribute the pages and posts owned by 'admin' to the user of your choice.
n/a Points
2017-01-27 6:50 pm

What happens if the drop down box "Attribute all posts to" does not have the correct user?  How can I fix this?  I don't want to lose all my posts!

2,858 Points
2017-01-27 6:58 pm
Holly, it sounds like the user you are trying to attribute posts to is not the same role level as the original user. Make sure that you have a valid backup, and then check the two users for what role they are both set to.
n/a Points
2016-12-10 11:13 pm

Won't the new username still be exposed as to anyone who clicks on the author tag on a post?

My site was getting hacked and even after I changed usernames the hacker was getting my new username. I couldn't figure out how until I realized that the new user name is till public.

n/a Points
2016-10-25 6:40 am

Thank you. This was so helpful! I accidentally put my e-mail as my username and thought all was lost! Silly me. Thank you so much. 

n/a Points
2016-10-07 3:15 pm

Glad I found your site. You do a great job walking us through things. On changing user name, is it possible to simply change my user name using nickname that is required? I tried, but it doesn't recognize new nickname as the login user name. Heard you could go into Admin PhP, find myself as user and change it there. What do you think?

I would think doing it your way is best probably. Thanks.

31,595 Points
2016-10-07 3:35 pm
Here is a link to a helpful guide I found on how to change your username. It includes steps for changing it directly in the database.

Thank you,
n/a Points
2016-07-06 2:47 am

I'm trying to install the demo and I left in 

Restoring 551 files...0% complete
can you help me
recently I bought the theme
42,943 Points
2016-07-06 4:12 pm
Hello Jose,

Sorry for the problem with the installation. We're not sure what DEMO installation you are referring to. We need more information about what you are doing in order to provide assistance. If you're installing WordPress, please try using Softaculous if it is available to you (it can be found in cPanel - Installing WordPress using Softaculous.

If you have any further questions or comments, please let us know.

Arnel C.
n/a Points
2016-02-29 12:20 pm

Great this! However, Wordpress doesn't want me to sign out... Do you know what to do about that?


42,943 Points
2016-06-22 10:02 am
Hello Tanja,

Not sure if the problem you're having has to with the server or the browser. Are you getting any error messages? Are you sure that the browser isn't trying to memorize your password. Please review the issue and provide a little more info to investigate the problem.

If you have any further questions or comments, please let us know.

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

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


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

Superb ..Thanks A Lot !!!

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

Thanks a lot really useful!

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

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

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?

42,943 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
2014-12-23 6:16 pm

This works as of december 23 2015

n/a Points
2014-10-24 12:30 am
Enough said: Magnificent!
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?

42,943 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-06-16 1:57 am

Its nice tutorial.  Thanks

Post a Comment

Email Address:
Phone Number:

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

39 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!