By default WordPress set the default username as Admin at the time of installation, if you don’t set an admin username. This will throw you in risk if you don’t change default username, because hackers know very well that most of the users install WordPress with the default username and a simple password. As a result, it may possibly for the hackers make a force attack that will take down your WordPress blog. Therefore, to ensure the security of your blog, make a unique admin username and a strong password for your website.

There are various methods to change default username. Below I have mentioned some methods that you can follow:

Change Default Username using phpMyAdmin

You will enjoy this method if you enjoy doing most of the thing using phpMyAdmin. To do this, first you need to access your phpMyAdmin using cPanel or any other hosting platform. If you have access, then follow the steps below:

  1. Login to cPanel and navigate to phpMyAdmin.
  2. cpanel phpmyadmin

  3. Inside the phpMyAdminn, find your WordPress database and click on the link.
  4. Inside WordPress database, search for ‘wp_users’ and click on Browse button as shown in the image below.
  5. browse wp_users

  6. Here, you will see the lists of all username and encrypted form of the password. Click on the pencil icon (see the image) that’s shown on the left to the username, which you want to change.
  7. edit username

  8. Now, you can change the username and/or password of your selected user. Simply, enter the new unique username and a strong password inside the value of ‘user_login’ and ‘user_pass’ field. Make sure that you have selected MD5 from the drop down lists in the ‘user_pass’ field, this will encrypt your password.
  9. change username password

  10. Once you have everything done, click on Go Button, and that’s all.

Change Default Username Using WordPress Admin Panel

You can also change username and/or password by using WordPress admin panel, which is a little bit lengthy process. To do this, just follow the steps below:

  1. At first, login to your WordPress dashboard as Admin.
  2. Create a new user profile with a unique name and a secure password. To make the password strong you can use mix characters and numeric digits. You have to specify a different email address to do this.
  3. Set the new user role as administrator.
  4. Click on Add New User button and then logout.
  5. Using the newly created username and password, login again.
  6. Delete the default Admin
  7. You will need to confirm that what you should do with the posts and links owned by Admin Simply, attribute all posts and links to the new user and click on the Confirm Deletion button.
  8. delete admin user

  9. After that, you can change the email address with your preferred one, if you want.

That’s all; you have just ensured WordPress login security.

Change Default Username Using WordPress Plugin

If you think that above two procedures are hard to implement for you, then there is an easiest way to change username and/or password. Simply, use a plugin named WP-Optimize. Using this plugin, you can easily change any username you require. You can also optimize the database and from the database can delete all the revisions of posts.

wp optimize plugin

Just follow the steps below to change the username you want by using this plugin:

  1. At first, install and activate the plugin.
  2. Go to WP-Optimize settings.
  3. In the old username field write admin.
  4. In the new username field, enter your preferred unique user name.
  5. Finally, click on Process button and you are done.

That’s all, for now. I think, now you can easily alter the default username of your WordPress blog for security purposes.

If you find this tutorial helpful or want to share your opinion, feel free to comment us.