Changing Your WordPress Admin User Name

21 Jun

I’m a big fan of WordPress, however there are a few things about it that disturbs me. The number one being that every installation of WordPress assigns the same administrator login name. Not only that, there is no easy way to change your login name. This is just one way a hacker can invade your web home especially if you have an insecure password. So here are instructions on how to change your admin login name.

The instructions are based on the assumption that you use phpmyadmin to access your database. If you use another program you’ll have to a little translating to apply to your situation. However this is so easy that you’ll probably be able to figure it in no time champ.

1. Back up your database first.

Making these changes is so easy that you shouldn’t really have any problems making the changes. On the other hand, why tempt fate? She just might take you up on the offer. Especially if Murphy is around with all of his laws.

2. Use phpadmin to access your database

3. Select the table labeled WP-User and click the browse icon. This will bring up all the records listed in that table.

4. Select the record labeled Admin and click edit. The edit button looks like a little pencil.

5. Go to the field labeled user-login and change the name there to the one you want.

6. Save the changes.

7. Go to your login page and verify the changes by logging in.

Happy Blogging :)

About these ads

6 Responses to “Changing Your WordPress Admin User Name”

  1. joseph July 8, 2007 at 12:08 pm #

    it’s really that simple… if only wordpress could integreate it into the admin section, like in joomla, (a small part of) the world would be a much happier place.

  2. Daria Black July 9, 2007 at 7:57 am #

    Hi Joesph. Thanks for stopping by. I agree. It should be that simple but I wonder why no one at the WordPress team have thought to integrate it yet. I’m working on a plugin but having not designed a plugin for WP yet, it’s slow going :)

  3. Hasan Soyer July 28, 2007 at 1:30 am #

    This is a very easy solution. And it really works. Thanks for that.

  4. Daria Black July 31, 2007 at 12:20 am #

    Sure no problem. Anything to help make WordPress a little more secure for its users.

  5. Jon October 3, 2007 at 2:43 am #

    Unfortunately, this didn’t work for me. I tried logging in/out several times after making the specified change, but the login remains as “admin”.

    Any thoughts?>

  6. Daria Black October 3, 2007 at 5:48 am #

    Hi Jon,

    Well that is disturbing.

    First thing to do is to try it again and make sure the settings are saved in the database. Then log out of the database. Log out of WordPress and clear the cookies and the cache on your computer. Then try it.

    If it still doesn’t work go to your user profile in the admin section of WordPress and verify what it says under username. If it still say “admin” then for some reasons the changes didn’t save in the database. If it says the name you put in but you are still able to log in using admin then there is a hiccup somewhere in your WordPress installation.

    Please let me know if it still doesn’t work so I can research this further for you. :)

Comments are closed.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: