How To Change The Wordpress Default User Name

ADVERTISEMENTS

Securing a wordpress blog is one of the major responsibilities of the blog admin. There are a lots of ways to provide security to your blog. One of the basic steps is changing the default user name. When you install wordpress, it provide you with a default user name admin. Wordpress do not provide any option to change this user name. But in this tutorial I will tell you how you can change the default user name of your wordpress blog.

  1. Perform SQL Query

    You need to perform the followinga SQL query to change your default user name
    UPDATE  ‘wp_users’  SET  ‘user_login’  =  ‘NEWUSERNAME’ WHERE ‘wp_users’.'ID’ =1 LIMIT 1 ;

  2. Manually edit Database in phpMyAdmin

    You can manually edit the entry in your database using phpMyAdmin to change the default user name. But first take a backup of your database. Follow the steps given below :

    • First go to phpMyAdmin of your database and browse the table named as wp_users.
    • Now you can see a record with user name admin. Click on edit button to edit this record.
    • In the user_login column change your user name to a new user name.
  3. Use Wordpress plugin to change the user name

    If you don’t want to manually edit the databse or perform the SQL query then you can use the WPVN – Username Changer wordpress plugin to easily change the default user name. You can also use Wp-Optomize, Admin renamer extended plugins to rename default admin user name.

  4. Easiest method – Create new admin account

    If you are still looking for the easiest method then just create a new user account, provide it admin privileges and delete the previous admin account.

Now its your wish to chose your desired step to change your default user name.

[Editor Note: This post is by guest blogger – Simrandeep Singh]


If you like this post, you will love these :

  1. 20+ Codes and Hacks Every Wordpress User Should Know
  2. Best Method To Change The Theme Of Your Wordpress Blog
  3. How To Change/Modify AutoSave Interval Time In Wordpress
  4. How To Install Author Advertising Plugin and Make A Revenue Sharing Blog
  5. Give Your Wordpress Login Screen A New Look
  6. 10 Most Important Plugins And Widgets For Your New Wordpress Blog
  7. Change the default theme for newly install XP

Simrandeep Singh on January 10, 2010 | Filed Under Wordpress

{ 2 comments… read them below or add one }

1 bee January 10, 2010 at 9:38 pm

nice info…

Reply

2 Rajesh January 17, 2010 at 11:51 pm

Yes, changing the username admin increase scurity to wordpress blogs.

Reply

Leave a Comment

Previous post:

Next post: