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.

Share :
  • Reddit
  • del.icio.us
  • Digg
  • StumbleUpon
  • DZone
  • Ping.fm
  • Sphinn
  • Twitter
Related posts :

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

Pages: « 1 2 [3] Show All

  1. [...] You may also use a WordPress Plugin to change your username. There are several plugins out there that will help you do this. The plugin I recommend: http://w-shadow.com/blog/2008/07/24/change-admin-username-in-wordpress/ [...]

  2. [...] ของ wordpress เล่นๆ ก็ไปเจอกับตัวนี้ครับ ( Change Admin Username ) ผมว่ามีประโยชน์ทีเดียว [...]

  3. [...] account.  If the idea of deleting that admin account makes you a little uneasy, there’s a simple plug-in that will allow you to just change the username of that account instead of creating a second [...]

  4. [...] I found was a WordPress plug-in written by Janis Elsts appropriately named Change Admin Username. This simple plug-in allows you to change the User ID of the WordPress administrator without [...]

  5. [...] 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 [...]

  6. [...] Click here to download directly from the maker’s site. [...]

  7. 59
    Marlin says:

    Thanks i was looking to change my admin login didnt do because it was too confusing This plugin really made it easy thanks

  8. 60
    Marlin says:

    Thanks i was looking to change user name didnt know how to do it

  9. 61
    pimpi says:

    Great idea, tried with wp 2.8.6 but it seems not to work ;-( Will wait for upgrade! Thanxs.

  10. 62
    pimpi says:

    SORRY! was in the wrong folder. It works with 2.8.6!! Great thankyou!! Next round’s on me!

  11. 63
    Heather P. says:

    Hi there, this plugin worked perfectly! Except when I post a new blog onto my website, it still names the author as the “admin” username, not as my new username that I created with the plugin. Is there a fix for this? Thanks!

    Heather

  12. 64
    White Shadow says:

    You might need to change the “Display name publicly as” setting in Users -> Your Profile.

  13. 65
    Irene S says:

    Thanks, this is just what I was looking for. Worked easily and perfectly. Love it!

    Irene

  14. 66
    Jake says:

    Great Plugin, works great!

  15. [...] install terlebih dahulu plugin Change Admin Username, dan jangan lupa diaktifkan. Dari admin area silakan klik menu Users dan pilih menu Change [...]

  16. Thanks for the article. After bouncing around several hosts myself I finally landed with HostGator and they have yet to let me down despite their growth.

  17. 69
    alx says:

    Thank for this plugin works with 2.9.2

  18. [...] Change Admin User Name – Another useful plugin for WordPress security that bypasses WordPresse’s inability to allow administrators to change their username. [...]

  19. [...] to change your admin username, you can do it by manually editing your database via PHPMYadmin or using a plugin (note that I have not used either method). Be sure to backup your database before you take this [...]

  20. 72
    mark says:

    dude!….THANKS A LOT!….your plug-in works for me,it took me 6 hours looking for some ways to changed my user name from admin into my desired username…ive seen a lot but just dont wanna mess things on some php editing…thanks your plug-in does work!

  21. 73
    Karen says:

    Hi there, Ive downloaded the plug in and it worked fine with the first change of username, but then I went in and changed it again to something less generic or common now for the life of me, I can’t get in again, any suggestions please what I could do? ???Thanks heaps!

  22. 74
    White Shadow says:

    Try manually changing the username back to the one that working. You can do this by opening your WP database in something like phpMyAdmin and editing the “user_login” field of your user record in the wp_users table.

  23. 75
    Karen says:

    Its so strange because its saying no username and email address is registered ?? Is there anyway I can get in, I know its my muck up, any help appreciated.

  24. 76
    Karen says:

    hey thanks for that, its a bit techy for me lol but I’ll get onto it, would there be any video tutorials on youtube for that, sorry bit of a newbie!

  25. 77
    KRAMESH says:

    Previus user name is rameshkavadiki now i want to change kramesh

  26. 78
    kramesh says:

    i want to change username as kramesh

  27. 79
    White Shadow says:

    Well then, install the plugin and go change it.

  28. 80
    Mark says:

    I used this on my multisite. I now no longer have multisite functionality. How can I revert back?

  29. 81
    White Shadow says:

    Technically, all this plugin does is change the username. If you change it back (via the plugin, or directly editing the wp_users DB table), perhaps the multisite feature will start working again.

Pages: « 1 2 [3] Show All

Leave a Reply