How Can I Delete Admin From My Wordpress Website?
Removing The Admin Default Username
If you are creating a website using WordPress today, you are given the option to select both a personalized username and password prior to installation. This becomes your administration log in.
Unfortunately prior to version 3.2 of WordPress, a default username of 'admin' was automatically created. I would hasten to suggest that there are still thousands of WordPress websites in use with an admin username still active with administrator access.
The risks for this are rather high and in order to bolster security and keeping the hackers at bay, creating a unique username and deleting the existing default admin one are essential.
WordPress displays your username as the author on all published post. To change this, navigate to your dashboard and go to Users. Select your administration username and edit it. You will see an area called “Display name publicly as”. Change this to reflect a name that is NOT your username. Make sure you save the change.
Follow these steps to remove the admin username from your website and delete it altogether.
Step 1: Log into your website, using your admin username.
Step 2: Navigate to the dashboard, and go to Users>Add New and then complete the details for a new user account.
- Make sure you select a username that is not obvious and a secure password.
- You need to use a different email address to the one that the admin user is linked to.
- Set the privileges for this new user to be an Administrator.
Step 3: Log out of your website.
Step 4: Log into your website, using your newly created username and password.
Step 5: Navigate to the dashboard, and go to Users and you will see the default admin username there.
- Select the admin username and press delete.
- WordPress will ask you what you want to do with all of the existing posts and pages that the admin username is assigned to. Delete them or reassign them to another user.
- Choose the option to reassign all posts to another account and select your new username from the drop down list to be the new owner.
Can You Monitor Potential Attacks?
There are a number of WordPress plugins available that assist with security, however one that comes to mind is called Simple Login Log.
It is a free plugin which keeps a log of all WordPress user logins, both successful and failed attempts, date, time and IP address.
This is invaluable information. Make a note to check this regularly to see the number of failed attempts. It may just shock you.
Reasons Why WordPress Will Not Let You Delete Your Admin Username
It is possible that when you attempt to delete the default admin username from your website that WordPress won't actually let you!
Why would this be happening?
The reason is simple and so is the solution so if this is something that happens to you, here is the easy way to address it:
- Navigate to your dashboard, and go to Settings>General.
- You will notice a field which has an email address in it. This email address is the administrative email address and you cannot delete the account that the administrator email account is assigned to.
- Move to the email address field and change it to be exactly the same email address as the unique username that you just set up.
- Navigate back to your dashboard, and go to Users
- Continue with Step 5 as mentioned above.
Ways To Secure Your WordPress Website
There are many ways to help ensure your WordPress website is as secure as it can be. Here are just a few:
- Keep WordPress Updated: WordPress is constantly tweaking and updating its content and security and they freely provide updates which are made available through the dashboard of your website. When a notification arrives, act upon it. Backup your site prior to upgrading.
- Captcha: Install a captcha plugin. This will require any user to enter a randomly generated string or numbers of letters. This makes it that bit harder for automated hacker bots to gain access.
- Plugins: Choose plugins selectively. You need to remember that all plugins are developed by individuals not associated with WordPress itself which potentially leaves your site open in ways had not imagined. Select Plugins that are compatible with your latest WordPress version, make sure they are updated regularly, and recently, and also take a look at any feedback or ratings it has.
- Backup: Last but not least, backup your site. If the worst happens and you need to restore you will at least have something to restore from. There are several plugins you can use including BackWPup, WP DB Backup and WP Move. These ones are free.