Username visibility in WordPress

Hi, I’m new to WordPress and have been navigating set up for the past few days. Quick question, is your username visible to the public? I was a bit stupid and just entered my email to be the username, and my email address contains my full name. I don’t want this visible to all. I have set a display name on my profile, but I just want to make sure the actual username is not visible also. Does the display name override the username? Thank you

  1. Just create a new user. And use that user name as the author. Then you can make your user name the admin.

  2. If you have admin user role, there are plugins to change author slug to be a hash of your username instead of the username itself.

    Edit Author Slug is one such tool.

  3. Remove username from templates wont make your users invisible!

    1. disable to view user pages, for example:

    add_action(‘template_redirect’, disable_author_page’);

    function disable_author_page() {

    global $wp_query;

    if ( is_author() ) {

    wp_redirect(get_option(‘home’), 404);




    2. You also need to remove users from sitemap because search engines will cache the results and list your users, see here at user contributed notes:


    3. I also removed users from rest_endpoints, just to make sure.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer