WordPress.org

Ready to get started?Download WordPress

Forums

Changing Admin Username (12 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    is there a way to change the admin username to something other than 'admin'

  2. KAShirow
    Member
    Posted 10 years ago #

    While there seems to be no way to change it in the profile page, the 'admin' username does not appear to be hardcoded anywhere either - all other code checks for user level and not names. This means that once created, you can rename the admin user by directly altering the name in the user table with phpMyAdmin or another database modification tool.

  3. Anonymous
    Unregistered
    Posted 10 years ago #

    thanks

  4. antifuse
    Member
    Posted 10 years ago #

    Yup, I always rename my admin user in the database. Haven't encountered any problems yet.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    So how do I change the usrename with phpmyadmin? Sorry I am not very familiar with SQL

  6. divrom
    Member
    Posted 9 years ago #

    Go into your phpmyadmin, and click on "Databases." Then click on the name of ur database.
    Click the "Browse" icon next to wp_users. Click the edit icon next to admin - should be first button on first row (like a notepad).
    Change it. Go down to the bottom and click "GO."

  7. sunshine
    Member
    Posted 9 years ago #

    yep, I changed mine from default too (with phpmyadmin), a little extra security, so you'd have to guess both login & password not password alone.

  8. rolandog
    Member
    Posted 9 years ago #

    umm, do you guys know how to do that for CPanel?

  9. moshu
    Member
    Posted 9 years ago #

    rolandog,
    do you mean the admin name for WP or the admin/user for CPanel? The latter one is done by your host. For WP just find the link on CPanel admin interface where it says phpMyadmin, click and follow the instructions above.

  10. rolandog
    Member
    Posted 9 years ago #

    D'oh, there was a small link under the page...

    The weird thing is that I followed the instructions, but now I'm getting a bunch of errors while accesing wp-admin:

    Warning: Cannot modify header information - headers already sent by (output started at /home/rolandog/public_html/wp-config.php:23) in /home/rolandog/public_html/wp-includes/functions.php on line 1644

  11. ColdForged
    Member
    Posted 9 years ago #

  12. rolandog
    Member
    Posted 9 years ago #

    sorry, again... I already discovered what had happened... the text editor kind of added a lot of breaks to the wp-config.php file.

    So, now everything is working fine. Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.