Option 1 – Change username in PHP. This is from https://wpsecuritylock.com/how-to-hide-wordpress-username/
- Login to your WordPress Dashboard
- Go to Users > All Users
- Mouse over the user you want to change and click “Edit”
- Fill in “First Name”
- Fill in “Last Name”
- Fill in “Nickname” such as First and Last Name (example: John Doe, Queen of Sheba)
- Change the dropdown for “Display name publicly as” to something other than your username
- Login to your cPanel
- Open “phpMyAdmin”
- Open your site’s database
- Click “Browse” link next to “wp-users” (you may have changed your table prefix, so look for _users)
- Change the user_login (username) to something different, but keep the same user_nicename (author url)
- Or change the user_nicename (author url) and keep the same user_login (username)
Option 2- Use a Plug in
- Install the iThemes Security Pro plugin and configure
- Go to Security > Settings > WordPress Tweaks and enable “Force Unique Nickname”
- Do Steps 1 through 7 (above) for each user