Are you looking for a solution on how to change the administrator username and stay protected? You tried to change the username through the WordPress admin panel, but its not allowing you to change? Why to worry when Swami Digianand is there with you always.
Hope you have already gone through the 10 Tips To Save Your Website From Hacking. In this post he is going to explain you step by step on how to change the administrator username. This can be done both on the live hosting as well as the localhost that you might have set.
How to change the administrator username and stay protected:
- Open the phpMyAdmin panel of your website. In case you are on a localhost then type localhost/phpmyadmin in the search bar of your browser. In case you are on a live website, you can access the same through the cPanel.
- Select the correct database either by choosing the database from the left panel or the database icon on the toolbar
- Depending on the prefix you chose at the time of installation of the WordPress database, look for the table “wp_users”. The default prefix for the tables at the time of WordPress installation is “wp_”. This might be slightly different for you if you changed the name at the time of installation.
- Select this table “wp_users”
- You will see the user_login as Administrator.
- Click on the edit button and a new window will open.
- Replace Administrator by any other name in the field 1 (use_login). Remember the new username that you have to enter has to be continuous. With no spaces. For example say “JennyJose”.
- Repeat the same with “user_nicename” field 2
- If you want the display name also to be changed, then enter the new name in the Display Name field 3. Here you can have spaces. So the name can be “Jenny Jose”
- Once done, click on Go
- Now you will see the new changes have been applied.
- You will have to login to the admin panel yourdomainname.com/wp-admin with your new username “JennyJose”. Since you did not change the password, so that will remain the same.
- Now you are done. You have changed the administrator username. You should also see the 10 Tips To Save Your Website From Hacking.