The main purposes to change WordPress admin username is to protect the website from the hacker. Hacker uses a lot of software and trick to hack your website password. If they know your admin username then half of the work is done.
So protection of your username is more important than to protect your password from the hacker.
As a part of the WordPress security series, In my previous article, I explained how you can reduce the hack attempt and save your site from brute force attack.
There are 3 ways you can do to change WordPress admin username:
- Change it manually (by creating a new admin to replace the default one);
- Touch the phpMyAdmin and;
- Use plugin,
Personally, I prefer the first method that is to do it manually and doesn’t recommend the complex and way more ‘adventurous’ phpMyAdmin editing But in same case you have to touch your phpMyAdmin, so I will explain all three the methods.
Manually Change WordPress Admin Username
This Process is very easy and anyone can do it right away to have a more secure admin username for WordPress site. The main logic is to add a new user and assign administrator role, delete the default admin and attribute all content of the old admin to the newly added one.
- Log into your Dashboard. On the left-hand menu, hover to Users and choose Add New.
- Fill in all required information. You should give it a harder-to-remember username (that’s our purpose).
- In theRole drop-down menu, choose Administrator so that this new user has the right as an admin. Then hit Add New User.
- Now Logout Your Website and Sign with new username and password
- Click on User and delete old username.
To save all the contents you have previously created with the old admin account, tick on Attribute all content to. And from the drop-down menu choose the new admin username.
Finally, Confirm Deletion.
Setting After Change WordPress Admin Username
- Click on Your Profile and fill contact information like email for notification, email, facebook and twitter Profile
- Add Author information you can use starBox plugin to do this.
Change WordPress Admin Username Using phpMyAdmin
This method is a little bit complicated as it requires making direct changes to your WordPress database. We usually don’t recommend users to make direct changes to their WordPress database Because if you delete an important file or change the setting then your website is down. However, in some cases, you may not have any other option.
For example, if you have forgotten your WordPress username and email address, then you will not be able to access the admin dashboard to change username. Using this method, you can find your username and you will also be able to change it.
- The first thing you need to do is login to your C-Panel.
- Scroll down to the databases section and click on phpMyAdmin.
- Next, you need to select the database that your blog is hosted in.
- You will see your WordPress database tables. By default, WordPress database tables use wp_ as a prefix before each table’s name.
- It is possible that you may have been using some other prefix.
- Click on the table
wp_userson the left-hand side. Then click edit on the username that you want to edit.
- Change the user_login value to whatever you want. For example, you can replace ‘admin’ to ‘wrongadmin’
- Click the Go button and you are done.
Change WordPress Admin Username Using Plugin
Another simple way to change your WordPress username is by using a plugin. If you are one of those users who doesn’t want to install a plugin for every little thing, then let us assure you that you can safely delete the plugin once you have changed your WordPress username.
- The first thing you need to do is install and activate the Username Changer plugin.
- Upon activation, simply go to Users » Username Changer page.
- Add the old username and add the new username to replace the existing Username.
Changing your WordPress Admin Username is an important factor in increasing your WordPress built-in site security, and there are three methods to change it: from WP Admin Area by adding a new administrator account, using Username Changer Plugin, or from cPanel using phpMyAdmin
Remember to share this post with anyone who might benefit from this information, including your Facebook friends, Twitter followers and members of your Google+ group! And also Support Us By Liking Our Facebook, Twitter, and Google+ Page.
If you have any suggestion or problem about change WordPress admin username please feel free to comment below.
Latest posts by Harvinder Singh Sharry (see all)
- Customize WordPress Post Editor Toolbar with TinyMCE Advanced - September 29, 2017
- How To Use WordPress Post Editor Toolbar And Add New Option - September 28, 2017
- Introduction to WordPress Post Screen Option And Its Feature - September 14, 2017