10/8/2015 - 7:55 PM

Hide WordPress Usernames to Improve WordPress Security

The below is an easy to follow step by step procedure that explains how to hide WordPress usernames.

  1. Navigate to the WordPress user’s profile page and make sure the First Name, Last Name and Nickname are populated.

Note: the nickname is typically auto populated with your username. The nickname exists to give you the option to set the display name to something other than your username or first and last name, hence do not fret much about it from the security point of view.

  2.  From the Display name publicly as drop down menu select how the user’s name should appear in blog posts, pages etc. Choose something that is different from the WordPress username.
  3.  The next step is to change the user_nicename entry for that particular username from the WordPress database. To do so follow any of the below procedures;

Change user_nicename Entry via phpMyAdmin

  1.  Login to your hosting provider cPanel and click phpMyAdmin from the Databases section
  2.  Click on your WordPress database and click on wp_users table (if you changed the prefix the tables name should be [yourprefix]_users)
  3.  Click the Edit button next to the user you would like to edit, as highlighted in the below screenshot (in original post)

  4.  Modify the user_nicename entry to something different than the username as highlighted in the below screenshot (in original post)
  5.  Click Go to save the changes.