Older versions of WordPress installations would always set your username to admin by default. This quickly became an easy exploit for hackers since everyone had the same username. Newer versions of WordPress let you choose a unique username upon installation. However, if you are working with a site that still has ‘admin’ as the username or would just like to change it for security reasons please follow the instructions below.

Step 1. Login to your hosting account, CPanel or directly to your website database (advanced users).

In your CPanel, look for the Database section where you will find a link called ‘phpMyAdmin‘. This will let you view your WordPress¬†database, the place where all of your website text and settings is stored. If you have multiple databases, make sure you are viewing the correct one for the site.

Step 2. Find the ‘wp_users’ table.

If you had a custom table prefix set just find the ‘_users’ table.

Step 3. Find the ‘admin’ user and click on ‘edit’.

For the column named ‘user_login‘, fill in your NEW unique username in the ‘value‘ field. You may also want to change the ‘user_nicename‘ which is used as your nickname on the fronted of your website.

Step 4. Select ‘save’ from the options at the bottom and click ‘GO’ to save your settings.

You’re done, good job! Now your site is a lot more secure. Don’t forget to save your new information for your records.