WordPress: Changing Your WordPress Login Print

  • 17

There are two possible ways to change the login credentials for your WordPress install. You can do it through the WordPress Dashboard, if you're still able to login. If you have forgotten the username or password, you can also change the user/pass through phpMyAdmin.

Using the WordPress Dashboard

This method creates a new user for your WordPress install. It does not delete the old username/password.

  1. Log into the WordPress Dashboard.
  2. Select "Users" then "Add New".
  3. Enter a user name.
  4. Enter your email address.
  5. Enter your name, and website.
  6. Enter the password you would like to use.
  7. Checkmark the box next to "Send Password".
  8. Select the role of the new user.
  9. Select "Add New User".


Using phpMyAdmin to Edit the Database

You must know the name of your database for this method.

  1. In cPanel, open the File Manager.
  2. Select "Web Root (public_html)" and checkmark "Show Hidden Files (dotfiles)".
  3. Select "Go".
  4. Find your wp-config.php file and right click it. Choose "Code Edit".
  5. Select "Edit".
  6. Find the database name - it will be identified with 'DB_NAME'.
  7. Exit the File Manager and navigate to the Databases section.
  8. Select phpMyAdmin.
  9. Find the database on the list at the left side and select it.
  10. From the navigation menu, select "wp_users".
  11. Next to the database login information, click "Edit".
  12. Find the "user_login" column, find the username, select it, and modify it.
  13. Click "Go".

 



Was this answer helpful?

« Back