Skip to main content

How to change your WordPress username

For years, when you installed WordPress it would suggest that you set your username to “admin”. As a result, millions of WordPress sites have a user with the name “admin”, so hackers go after that quite a lot. If your site uses a different login username, you’re instantly protected from those kinds of attacks.

Easy fix?

Ok, so no problem — change your username. Except when you go in to WordPress to change it (under “Users” –> “Your Profile”), you find that it’s greyed out and can’t be edited…

2015-08-30_11-14-47

The real fix

While there are plugins that can allow username changes, there’s a chance things could go wrong depending on your setup. Instead, we’ll create a new account with a better username and then move your content over. This should only take a few minutes, and here’s how to change it.

  1. Edit the email address on your existing account to something else. For example, maybe just put an “x” at the end. You’ll want to use your real email address for the new account, but WordPress won’t allow you to use the same email address on two users accounts.
  2. Create a new account on your site (under “Users” –> “Add New”), with “admin” level credentials but using a better username (such as your first name).
  3. Log out of your “admin” account and log in as the new account.
  4. Go to “Users” –> “All Users”, hover over your old “admin” account and choose “delete”.
  5. When deleting the old account, you want to “attribute all content” to your new account. This is critical. If you choose to “delete all content”, then every page/post/etc created with your old account will be removed. This is a screen that we’ve personally worked on with WordPress to improve the clarity of what is going to happen.

2015-08-30_11-20-09

That’s it! From now on, you can log in with your new account, and any spammers that try to hammer your site and log in as “admin” have a 0% chance of ever being successful. There are other things you should do to help protect your site, but this is a solid start.

About the Author

Mickey Mellen

Co-Founder and Technical Director

View Mickey's Profile

More from Our Blog

5 Most Common Marketing Challenges Small Business Owners Face

Marketing is deceptively complex. Creating a Facebook page and building a basic website seems simple, but having an online presence doesn’t automatically make you effective…

Read More
mad formal executive man yelling at camera

Growing Your Website Content Sustainably Over The Long Run

There are over one billion websites in the world today—All of which are competing for attention and new customers, all while trying to improve their…

Read More

H1 & H2: Why You Should Always Use Headers in Your Website Content

Not only do headers make online content easier for humans to understand, but header tags (like H1 and H2) also guide bots on how to...

Read More
white printer paper on white table