The default username during the WordPress installation is ‘Admin’ and if its not changed can pose quite the security risk for your website. Learn how this can impact you and how to change it after WordPress has already been installed.
WordPress is a very common platform used by millions of websites, and rightfully so with its SEO integration and flexibility. However, with all its popularity, it seems to have become a target for hackers. Recently its been reported that a 90,000 strong botnet is capable of testing up to 2 billion passwords per hour on WordPress installations. That’s impressive…
What does this mean for you?
Well, if your default username is still admin, then your website is at an even greater risk of getting hacked. The following provides two different options for changing this default username from ‘admin’ to something more unique and secure. If you have already changed your username, then stay tuned for additional security tweaks to protect your WordPress site.
Option 1 – This option is more technical and walks you through the steps of updating this via the database.
Option 2 – is less technical and walks you through the steps via a plugin.
Option 1 – Manual Option
For the manual option, you will need to access your WordPress database via the following steps using phpMyAdmin.
Login to your web hosting control panel (such as cPanel, Plesk, etc) and click on your PHPMyAdmin option under databases.
Login to PHPMyAdmin and select the database for your WordPress website. Click on SQL tab and copy the update statement from the below block and paste into the SQL text field.
NOTE: before using the script below, change the value ‘UniqueName53’ to something unique that suits your needs. This may not work if you use simple scripts to install wordpress as the table names will likely be different.
UPDATE wp_users SET user_login = 'UniqueName53' WHERE user_login = 'Admin';
Results should appear something similar to the following.
Once complete you’d login with your new username using the same password you had prior, as displayed with our example below.
Option 2 – Plugin Option
To change your admin username via a plugin search for the following WordPress plugin, admin username changer, to either install from directly within WordPress or download, extract and upload to your plugins directory. If you need assistance with installing a plugin, check out their instructions under Managing Plugins with WordPress.
Install and activate the plugin. Once activated you will see a “Admin username” option in your left navigation bar. Simply click to proceed with changing your username as displayed below.
Your username is now changed! Keep in mind, using unique usernames will help secure your website, as well as, using secure passwords :). Enjoy.