• Anonymous

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • kashirow

    (@kashirow)

    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.

    Thread Starter Anonymous

    thanks

    antifuse

    (@antifuse)

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

    Thread Starter Anonymous

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

    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.”

    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.

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

    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.

    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

    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!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Changing Admin Username’ is closed to new replies.