How to Change Default Username of WordPress for Security
Change Default Username using phpMyAdminYou 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:
- Login to cPanel and navigate to phpMyAdmin.
- Inside the phpMyAdminn, find your WordPress database and click on the link.
- Inside WordPress database, search for 'wp_users' and click on Browse button as shown in the image below.
- 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.
- 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.
- Once you have everything done, click on Go Button, and that's all.
Change Default Username Using WordPress Admin PanelYou 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:
- At first, login to your WordPress dashboard as Admin.
- 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.
- Set the new user role as administrator.
- Click on Add New User button and then logout.
- Using the newly created username and password, login again.
- Delete the default Admin
- 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.
- After that, you can change the email address with your preferred one, if you want.
Change Default Username Using WordPress PluginIf 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.Just follow the steps below to change the username you want by using this plugin:
- At first, install and activate the plugin.
- Go to WP-Optimize settings.
- In the old username field write admin.
- In the new username field, enter your preferred unique user name.
- Finally, click on Process button and you are done.