WordPress.org

Ready to get started?Download WordPress

Forums

user name deleted (4 posts)

  1. taiyabs
    Member
    Posted 4 years ago #

    Hi there,

    From site (self hosted, wordpress 2.8.5) user name (i had two user name) deleted (as i was trying log in, it says no user name available). If there is no user name left, how can I set new one...

  2. MichaelH
    Member
    Posted 4 years ago #

    Just visit your Administration > Users > Add New to create a new user.

    If you can't login review Resetting Your Password.

  3. taiyabs
    Member
    Posted 4 years ago #

    to visit Administration > Users > Add New to create a new user. I HAVE TO LOG IN. But main problem is no user name left in the database. In this situation how can I create a user name...?

  4. MichaelH
    Member
    Posted 4 years ago #

    Backup your database.

    Then, in your wp-config.php, change the $table_prefix to something different. Then visit yourdomain.com/wp-admin/install.php and let WordPress install a 2nd set of database tables, including an "admin" user, then copy the record from the user table and the records (multiple) from usermeta to your other user and usermeta tables. Then change the $table_prefix back to the original value.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.