WordPress.org

Ready to get started?Download WordPress

Forums

Change "admin" name for login easily? (6 posts)

  1. sorenson2743
    Member
    Posted 8 years ago #

    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

  2. MichaelH
    Member
    Posted 8 years ago #

    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.

  3. paulwylie
    Member
    Posted 8 years ago #

    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.

  4. sandstrom
    Member
    Posted 8 years ago #

    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.

  5. sorenson2743
    Member
    Posted 8 years ago #

    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.

  6. MichaelH
    Member
    Posted 8 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic