How To Change Wordpress Default Username For Security

by Shoaib Hussain on January 3, 2010

in Wordpress

You may want to change your WordPress username if you have a username something like “ADMIN” or may “yourblogname” etc
As these names are pretty easy to guess and thus make your blog prone to be hacked.

WordPress by default does not offer you to change your login name,but by using your phpmyadmin you can change your WordPress login name and even retrieve your password.

How to change login username in WordPress.

Go to your cpanel and in their navigate to phpmyadmin.

cpanel-phpmyadmin

Once you are in their locate the data base that has your WordPress installation.

Wordpress Data base

Select your WordPress data base

OPen the data base and look for the file named      and open it.

Now you should see a list of files looking like this.

Click on the browse button

Click on the browse button

OPen the one named as  wp_users    by clicking on the first icon on the right hand side of the file.

Now will see your user name and encrypted form of your password.

Prevent your wordrpress blog from being hacked

click on the pencil icon

Click on the pencil icon to change your WordPress login users name and/or password

New wordpress login username

Enter the new login username in front of the user_login and/or new password in front of the user_pass

Once you have entered new the login username or/and passwords,click on the drop down right in front of the user_pass and select MD5( this will encrypt your password).

That  done click on Go and that’s it now you have changed your WordPress login username and login password.

Editor’s Note : Alternatively you can use wp-optimize Wordpress plugin to quickly change username with one click.

This useful tutorial is presented by our guest author Shoaib , who writes at what-what.net. If you like to Write for Shoutmeloud read : Shoutmeloud Revenue Sharing Program.

Related posts:

  1. Now you can change your Facebook username
  2. Wordpress 2.9 Upgrade-Header Cannot Be Modified Error
  3. Install Wordpress offline on Your PC using Xampp
  4. Wordpress plugin to change Dashboard logo : BM custom login
  5. Gmail Enhanced security with Default HTTPS
  6. How to Change your DNS to Google DNS
  7. How to Install Buddypress in Wordpress MU
  8. How to Install Wordpress and Steps after Installing Wordpress


{ 14 comments… read them below or add one }

1 Anish K.S January 3, 2010 at 13:47

Nice tutorial with images. will change it.

Reply

2 shoaib January 3, 2010 at 14:34

yeah ,its nice to have both a good username and a good password .

Reply

3 David Hobson January 3, 2010 at 14:52

Nice tutorial for people who did`nt know how to do this.

Reply

4 izzat aziz January 3, 2010 at 17:51

i simply create new admin account and delete the admin one.. :)

Reply

5 blinkky January 3, 2010 at 19:13

This is great as it’s for your security =)

Reply

6 Gojeg January 3, 2010 at 20:26

Hmm..for newbie or end-user, this is very helpful. :P

Reply

7 Rishabh Agarwal January 3, 2010 at 20:53

Wouldn’t it be easier to create a new admin with any name and delete the default admin?

Reply

8 shoaib January 3, 2010 at 23:52

This is just hypothetical -”what if you forgot ur wp login(just hypothetical) or may be ur blog is hacked and ur not even able to login into ur wp dashboard.

Reply

9 Ubaid January 4, 2010 at 11:23

I would suggest you to use Wp-Optimize plugin instead. It directly allows you to rename the login userid. This avoids you to go through all the trouble of changing values in the database manually. Give it a try!

Reply

10 Amandeep Singh January 4, 2010 at 17:49

Great info.. I used another method told by harsh in another post :) nyways thanks for sharing …

Reply

11 tushar January 4, 2010 at 18:17

awesome post harsh…..i always used to think that admin is too vulnerable….one of the best tutorials i have ever read

Reply

12 Pascal January 4, 2010 at 19:10

I thought that it was not possible. But this phpmyadmin trick works well. Thanks for the guest post.

Reply

13 shoaib January 4, 2010 at 19:50

@Amandeep @Tushar @Pascal u r welcome.

Reply

14 Ramon Fincken March 11, 2010 at 00:29

Leave a Comment

Previous post:

Next post: