Deleting the default admin user
Quite some time ago I thought about changing the username of the default admin account on WordPress, but you can’t change a username once it’s set. I thought the same thing applied to the admin account itself (just as WordPress has a default category that you cannot delete).
Turns out you can easily get rid of that admin account (thanks to John Bollwitt for pointing this out to me):
- Create a new user with administrative rights
- Log out of WordPress as “admin”
- Log in as the new administrator
- Now you can delete the original admin account (WordPress gives you the option of deleting all the user’s posts or transferring them to another user)
I also read this great tip in an article from Smashing Magazine on how to protect your admin area in WordPress: don’t allow your username (even the new and improved one you create for the new admin account) to show in your posts and pages. Make sure you switch the Display Name As function in your profile so that it shows your name, and not your username – why let hackers know what your administrative user name is?





