How to change username in WordPress

4 replies
  • WEB DESIGN
  • |
I have started a new WP blog and I carelessly published articles on my partner's username. Now I want to change the username. Shall I delete all the articles and re-publish one after one with my username or any way out of this problem?
#change #username #wordpress
  • Profile picture of the author dawidtailor
    If you want to change your username and password than you have to first login your wordpress existing username than you have to access your personal account and it show one button change username. If you click this button than you can change the username.
    {{ DiscussionBoard.errors[6468741].message }}
  • Profile picture of the author xtrapunch
    1. Log in as admin and create the desired user with appropriate rights in WP.
    2. Go to 'Posts' section. Select the posts that need to be assigned to the new user and click on "Bulk Update/Edit" link on the top of the list. Assign the posts to the new user.
    3. If you want to delete the old user, skip STEP #2.
    4. Log out and log in with the new admin user.
    5. Delete the old user. Be sure to assign the posts of old users to the new one. DONE!
    Signature
    >> Web Design, Wordpress & SEO - XtraPunch.com <<
    Web Design & SEO Agency | Serving World Wide from New Delhi, India

    {{ DiscussionBoard.errors[6468880].message }}
    • Profile picture of the author peoplesinnovation
      WordPress by default doesn't allow changing usernames after registration,

      you can directly edit the values in the user_login field in users table to change an username:
      Login to your phpMyAdmin and click on your database name
      Click on the table name called users from the left sidebar. The list of the users on your blog will be shown, each in a row.
      Click on the pencil icon at the username row which you want to change.
      Change the value of the 'user_login' field to your desired username, and click on the Go button. This will save the database and the new username will be activated but the password will remain same.
      {{ DiscussionBoard.errors[6469722].message }}
  • Profile picture of the author KevinAshbridge
    I agree with @peoplesinnovation. If you're cool with using MySQL you can change all instances of the wrong username with a single SQL command.
    Kevin
    {{ DiscussionBoard.errors[6483001].message }}

Trending Topics