How To Change Your Admin Username In WordPress

When WordPress is installed it sets your login name to “admin” by default. If you want to change it you will usually need to manually edit the WordPress database, which might seem a bit intimidating for people not familiar with MySQL/phpMyAdmin. That’s why I created a small plugin that will let you easily edit your username from within WordPress.

How It Works

The plugin adds a new menu item called “Change Username” to the “Users” menu on the Dashboard. Clicking it will display a form where you can enter your new login name. All you need to do is enter the desired username in the form and click “Save Changes”. The plugin will then automatically perform the required database operations and let you log in with your new username right away.

Download Plugin

change-admin-username.zip (3 KB)
I’ve tested the plugin on WP 2.6 – 2.8.3 but it should be compatible with most older versions, too – all the way down to 2.0.x. If you find any bugs feel free to leave a comment below.

Related posts :

119 Responses to “How To Change Your Admin Username In WordPress”

  1. […] cannot be changed). Walau sebenarnya ada sebuah plugin untuk bisa mengganti username login namanya Plugin Change Admin Username, namun saya tidak akan menggunakan plugin ini khawatirnya kebanyakan plugin yang diinstall malah […]

  2. […] nome de administrador predefinido sem aceder à base de dados e correr riscos, poderá sempre usar este plugin que lhe permitirá fazer tudo de uma maneira mais […]

  3. […] C’est pourquoi je recommande plutôt l’utilisation d’une extension nommée Change Admin Username. Une fois installée, cette extension ajoute un item « Change Username » au […]

  4. Kelly says:

    Thank you for this rather awesome plugin!

  5. William says:

    Does this plugin work on the latest WordPress version 3.1.1?

    Thank you.

  6. xing3811 says:

    Very helpful plugin, thank you.
    Worked great with WordPress 3.1.1.

  7. Connor says:

    Thank you very much for this! Very helpful.

  8. Ferne Hayes says:

    Thanks for your post. I have often observed that almost all people are wanting to lose weight since they wish to appear slim and attractive. Having said that, they do not always realize that there are additional benefits for you to losing weight also. Doctors declare that fat people are afflicted by a variety of conditions that can be perfectely attributed to the excess weight. The good news is that people who definitely are overweight and also suffering from diverse diseases can help to eliminate the severity of their illnesses by means of losing weight. You are able to see a constant but notable improvement in health while even a negligible amount of weight reduction is reached.

  9. bobylepa1 says:

    Wow, thanks. Worked like a charm. Now I need to get it uploaded to my other sites

  10. Just wanted to let you know that your plugin is awesome! I’ve only had to use it a couple times but it sure is nice to know it there when I do need it because the other way of changing your username is a major hassle.

    Thanks!

  11. wctsagoe says:

    I wish I can find a better name to praise your plugin. It’s simply awesome! Thanks for such smart thinking. We need people like you in the community. God bless you!

  12. […] die englischsprachige Originalversion finden Sie unter http://w-shadow.com/blog/2008/07/24/change-admin-username-in-wordpress/ Machen Sie mit bei meinem Netzwerk! Veröffentlicht in Tipps und […]

  13. Hey Dude,

    thanks for the plugin!

    I installed it yesterday, the new user name was so long the plugin (or wp) couldn’t take it all. But it worked fine … yesterday. (version3.2.1)

    Today I get this msg:

    Error establishing server connection

    Could it have anything to do with the plugin/change of user name?
    To be fair that has happened before, I guess it’s the server (hm) down.

    Possible to have anything to do with the plugin?

    Thanks,

    Mark

  14. amir says:

    nice one, thumbs up

  15. Yeah it’s resolved, IT WS THE FRIGGIN’ SERVER! Hostmonster … maybe not much longer my server, considering switching to hostgator or Bluehost after all this …

    Mark

  16. White Shadow says:

    Right, well, I’m glad you got it resolved.

  17. Cid Jokes says:

    I am very happy from your post. Kuddos.

Leave a Reply