Support » Installing WordPress » Change “admin” name for login easily?

  • I’m not talking about nickname, but the bog-standard administrator login name of “admin” that WP assigns to every new install. My site’s been up for a while, and to add that “extra” bit of security I’d like to have something harder than “admin” for the Administrator account. Should be selectable at install time, IMHO. Standard security practice.

    Can I do this by going into the WP_users table and just changing the account name there? Any impacts on current articles? TIA

Viewing 5 replies - 1 through 5 (of 5 total)
  • You’d probably be okay changing user_login to something different that admin.

    You might make sure you have a backup of your database before making the change.

    I am having trouble gaining access to wp-admin. I dn. a new theme and wanted to activate the theme. I typed in localhost/ispeak/wp-admin/ and got a redirect to http://localhost/ispeak/wp-login.php?redirect_to=/ispeak/wp-admin/
    After typing my user and password I get a timeout causing apache to crash. Is there a way I can work around this.

    sorenson2743, its rather easy to change the nickname. But you cannot do it through the admininterface, you must tap into the database to change it. I guess you have phpmyadmin. Lookup the user and simply change the name from admin to whatever you want.

    Thanks, Sandstrom. Following your advice I did just that and it worked like a charm. Since I use another “alias” for writing articles, there was no impact to articles. I suspect that there might have been an impact if I had written with accountname=nickname=”admin”?

    Anyway, thanks a lot.

    If you change the “admin user’s” wp_users user_login to something other than “admin” you may not get the desired results if you use the template tag wp_list_authors with the excludeadmin parameter.

    Template_Tags/wp_list_authors

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change “admin” name for login easily?’ is closed to new replies.