WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to either delete or change the username of the original administrator account created during the install of a WP 3.2 site. This is not possible via the admin interface (There is a message to say that usernames cannot be changed and the delete option is not available).

I have a requirement to change the username or delete the account. Is there a safe way to do this by editing the DB directly e.g. just edit the admin user row in the users table directly and alter the username?

share|improve this question

The safest way:

  1. Create a second user account, and assign it to the admin user role.
  2. Login as the user you just added
  3. Modify the original admin account. Delete it, or (my preference, especially if the username is "admin") change the user role to subscriber
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.