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 Ideas For Using Customer Testimonials in Your Marketing Right Now

Listen to our podcast on this topic. As a marketer, you’ll always say nice things about your company. Your job is to find the unique…

Read More
pink background with speech bubble

Establishing Your Business as an Industry Thought Leader or Subject Matter Expert

We are often asked by our clients – and we ask ourselves when creating a website strategy – How do I help my customers find…

Read More
photo of man holding mic

Website About Pages: How To Highlight Your Company’s Team

What is one of the easiest ways to humanize your brand, create a personal connection, build trust, and foster transparency on your website? It may…

Read More