Blog

Step-by-Step Guide to Change WordPress Username via cPanel

Log into cPanel

  • Go to yourdomain.com/cpanel

  • Enter your cPanel username and password

Open phpMyAdmin

  • In the Databases section, click on phpMyAdmin

Select Your WordPress Database

  • On the left-hand side, click on your WordPress database name.

    • If you’re unsure which database belongs to your WordPress site, check the wp-config.php file in your site’s root directory for this line:

      define('DB_NAME', 'your_database_name');

Find the Users Table

  • Click on the table named wp_users (it might be named something_users if your table prefix is different)

Edit the Username

  • Find the user whose username you want to change

  • Click Edit next to that user

  • In the user_login field, change the username to what you want

  • Click Go at the bottom to save the changes

Test the Login

  • Log out of WordPress and try logging in with the new username (password stays the same)

Important Notes

  • Changing the user_login field does not affect the display name or user_nicename (which are for author URLs).

  • Always back up your database before making manual changes.

  • Consider using a WordPress plugin like “User Management” or “WP phpMyAdmin” if you prefer not to touch cPanel.