Liberian Geek
  • Home
  • How-To/Tips
  • Linux
  • Windows

Change the Administrator Username in WordPress

When you first install WordPress the default administrator username is always set to ‘admin’. Most people will just leave it as is and install WordPress.

One little downside of keeping the username ‘admin’ for the site’s administrator is that everyone knows it. If someone with bad intentions wants to login and take over your site, all he or she needs to guess is your password since the username is already known.

Now, the right thing to do here is change the username to something other then admin so bad guys must guess both the username and password if they want break in to your site. This brief tutorial is going to show you how to change it if your site’s administrator username is admin.

Objectives:

  • Change the site’s administrator username in WordPress
  • Enjoy!

To get started, there are two ways to do it. One is connecting to your webhost remotely and logging to the database server and running the commands below.

 

To logon into your database server, run the commands below.

mysql -u root –p

 

After logging, run the commands below to change the site’s administrator username.

UPDATE database_name.wp_users SET user_login = 'bloguser' WHERE user_login = 'admin';

 

admin_username_change

Replace database_name with the name of your database.

 

Or, using your webhost panel, open phpMyAdmin and select the database you wish to edit.

 

admin_username_change_1

 

Then click ‘wp_users’ table in the database to continue.

 

admin_username_change_2

 

Next, click Edit to edit the selected table.

 

admin_username_change_3

 

Finally, change the username for ‘user_login’ field and click the ‘Go’ button at the bottom of the page to save.

 

admin_username_change_4

 

That’s it!

 

Enjoy!


Related Posts

  • Easily Free Up Linux System Cache In Memory
  • Get Original / Real IPs From Clients With WordPress Behind HTTP Proxy Or Load Balancer
  • Publish WordPress Posts from Windows Live Writer
  • Manage WordPress Blog Files in Ubuntu with Komodo Edit via FTP
  • WordPress 3.4.2 Maintenance & Security Update Released

Home > How-To/Tips, Linux, Web - 11 September 2012
Tweet
Comment Below!
Click here to cancel reply.



Follow @liberiangeek

Recent Posts
    • How Do You Manage MySQL Databases In Ubuntu 13.04 Raring Ringtail
    • Say Yes To Google Play Music Manager In Ubuntu 13.04 Raring Ringtail
    • Delete Junk, Improve Performance And Increase Privacy With BleachBit In Ubuntu 13.04 Raring Ringtail
    • Firefox 21 Released For Windows, Mac And Linux Systems
    • How Can You Find System Information In Ubuntu 13.04 Raring Ringtail
    • Is There A Better Task Scheduler In Ubuntu 13.04 Raring Ringtail?
    • Want LAMP (Linux, Apache, MySQL, PHP) In Ubuntu 13.04?
    • Support For Ubuntu 10.04 / 11.10 Desktop And 8.04 Server Edition End Today
    • Want uTorrent In Ubuntu? You May Have To Settle For qBittorrent Instead
    • LibreOffice 4.0.3 Released–Third Minor Release Of LibreOffice 4.0 Family

    Copyright © 2009 - 2013 Liberian Geek        Privacy Policy |      About Us |      Contact Us |      Search

    ↑ Top