• Skip to main content
  • Skip to primary sidebar

Digital Maestro

Harmonizing Your Online Strategy

  • Home
  • About
  • Work With Us
    • Coaching
      • One-on-One Coaching
    • Services
      • Set Up Services
      • Website Maintenance
  • Products
    • WPICA
    • WP Security Help
  • Blog
    • Affiliate Marketing
    • Plugins
    • Business
  • Resources
    • Registrar
    • Hosting
  • Contact

Aug 17 2011

Change the Admin Username

One of the easiest ways to beef up security on your WordPress site is to NOT use the username of admin.  What is so wrong with that? Well, it is much easier for hackers to hack a site if they use use the default username, admin. Now they only have to figure out what the password is! If you don’t use admin as your username, the hackers have to figure out 2 completely random things – both the username and the password. OK – I think you get the idea.

If you are starting a brand new blog,  you can simply create a new Administrative account with a name other than admin and delete the default admin account. On an existing WordPress install where you have posts already written, this requires a little more work!

First, make a back up of your site! (WordPress Backups & Another Post About Backing Up!)

There are a couple of ways to change the admin name now that you have a backup. First the REALLY techie way – if you are a developer and know SQL, you may rename the existing account in the MySQL command-line client with a command like

update tableprefix_users set user_login='newuser' where user_login='admin'

(tableprefix is the prefix you use on your database… You did change it, right?!?!)

You don’t want to do it in a really techie way? I don’t blame you. Here is an easier way.

Step #1 – Login to your cPanel (not your WordPress Dashboard, but your hosting account, cPanel).

Step #2 – Scroll down until you see something titled, phpMyAdmin and click on that.

phpMyAdmin

 

Step #3 – A new window will open up. Click on the database you want to change – if there is only one there, that will make it easier!

You can see that I have 8 different WordPress installations on this account (I have 8 websites hosted at this Hosting account). You probably have just one. Select the WordPress database (probably _wrdp1) by clicking on it and you will see the following screen;

WordPress-tables

This is a site I am constantly testing and reinstalling WordPress. You can tell by a few things – on an active site, the number of ‘rows’ would be much higher (indicating more posts, pages, users, etc.) and the real tell-tale sign for me is that I have not renamed my database tables! You can see they are still using the default ‘wp_’ prefix.

In any case, at the bottom you will see the wp_users table (or what ever your prefix is…. a7T5e9_users, or paul_users, or myFavNum_users). Click on the browse  link to the right of the table.

wordpress-userYou know you clicked on the right table because the ‘user-login’ says ‘admin’. That is the value we are going to change. To edit the user name, click on the little ‘pencil and Edit’ link.

wordpress-edit-userWhere it says, admin, change the text to be the new name you want to use to log in. You can see I changed it to G00dT1mes. Instead of the letters ‘o’ and ‘i’, I used numbers ‘0’ and ‘1’. I also used upper and lowercase letters. This makes it much more difficult for someone to hack in.

 

wordpress-change_username

The last thing you need to do is click on the Go Button below.

There you have it! You have successfully renamed the user in WordPress.

Written by Paul · Categorized: General

Reader Interactions

Comments

  1. Ali Bierman says

    August 17, 2011 at 11:59 am

    I didn’t know you an change the username.

    Reply
    • Paul says

      August 18, 2011 at 5:05 pm

      Ali – you can change it, however, it takes a little bit of doing 9as you can see in the post). All other usernames can be changed easily, however, the original admin username cannot.

      Reply
  2. Heidi Schell says

    August 22, 2011 at 8:07 pm

    Thank you for the good information – again!:)
    Dumb question though: how do I get to my cpanel to change the username??
    Newbie here!

    Reply
    • Paul says

      August 23, 2011 at 7:54 am

      Hi Heidi –

      When your hosting company created your account, most likely you received an email with this information. Depending on your hosting company, it might be as simple as www.YourDomainName.com/cpanel/ – check that and/or look for your Welcome Email from your hosting company.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

UpCity: Best of New Jersey

UpCity Best of New Jersey

Proud Member

Recent Posts

  • Voice Search and Local SEO: The Shift You Can’t Afford to Ignore
  • The Local Business Owner’s Guide to Holiday Promotions That Work
  • 7 Holiday Marketing Mistakes That Can Cost Your Local Business (and How to Avoid Them)
  • How Small Businesses Can Compete With Big Brands in the New Year
  • Holiday Marketing on a Budget: Creative Ideas That Don’t Break the Bank

WordPress Topics

  • Affiliate Marketing
  • Blogging Category
  • Business Building
  • Coaching Category
  • General
  • List Building
  • Marketing
  • Plugins
  • Resources
  • SEO
  • Services
  • Social Media
  • Themes
  • Traffic
  • Uncategorized
  • Video Subscription
  • Webinar
  • WordPress Online Strategy

Missinglettr

Copyright © 2025 · Digital Maestro · Disclaimer · Privacy Policy · Terms of Service · Accessibility · Stay Awesome!