Whilst doing the school run this morning, my phone ‘blew up’ with email alerts of unauthorised login attempts to my blog. Thankfully, my Limit Login Attempts plugin worked quickly to block the IP’s addresses, and also alert me to the username attempts.
Looking through the Lockout Log, nearly every username attempt was for:
or a variation of my blog name
So, what do you do if your blog username is set to “Admin?”. Afterall, the dashboard page says your Username cannot be changed.
Yes it can.
There are several tutorials out there that advise to create a brand new User Profile, attribute all your existing content to the new profile created and proceed to delete your original ‘Admin’ account.
That is one way. But it’s not really changing your WordPress username. It’s creating a new one from scratch.
If you want to actually change your existing WordPress username, here is a simple tutorial.
How To Change Your WordPress Username
Please note: it is always recommended that you make a back-up of your site prior to commencing any database changes.
Log into your webhosting account and access cPanel.
From the Database section, click on phpMyAdmin.
Using the dropdown menu (top left), select the correct WordPress database that you wish to amend.
Then click wp-users.
(Tip: if you are hosting several blogs / databases and are unsure which is the correct one, click on wp_posts. You will see some snippets of your blog content to help you identify the correct database).
Your database results will be returned. Click the Edit icon at the beginning of the row.
From here you can now replace your existing username with a more complex username.
You can also amend your password if you wish, however, this is is encrypted MD5 format. There are various online resources that will take a password value and return an encryption for you to enter here. Alternatively, return to your WordPress dashboard, login with your new username and change your password within your user profile settings.
Once you have hit “Go” and saved your changes you are done.
You can now log into your blog with your new, safer login details.
I hope you found this useful