WP Automator
WordPress Setup

Finding Your Username

Locate your WordPress username for API authentication

Your WordPress username is required for authenticating with the REST API. This guide shows you multiple ways to find your username.

Your username is different from your display name. The username is used for logging in, while the display name appears on your posts.

Method 1: WordPress Admin Dashboard

The easiest way to find your username is through the WordPress admin interface.

Log into WordPress Admin

Navigate to https://yourdomain.com/wp-admin and log in with your credentials.

Go to Your Profile

  1. Hover over your name in the top-right corner
  2. Click Edit Profile or Profile
  1. Click Users in the left sidebar
  2. Select Profile

Locate Your Username

On your profile page, look for:

  • Username: This is your login username (cannot be changed)
  • Nickname: Optional alternative name
  • Display name publicly as: What visitors see

The Username field is what you need for WP Automator.

Method 2: Users List (Admin Only)

If you're an administrator, you can see all usernames:

  1. Log into WordPress Admin
  2. Click UsersAll Users in the sidebar

Find Your Username

Look for your account in the list. The username appears in the Username column.

Check User Role

Verify your user role (should be Administrator for full API access):

  • Administrator: Full access ✅
  • Editor: Can manage content ✅
  • Author: Limited access ⚠️
  • Contributor: Very limited ❌
  • Subscriber: No content access ❌

Method 3: Database Query

For advanced users with database access:

Using phpMyAdmin

SELECT user_login, user_email, display_name 
FROM wp_users 
WHERE user_email = 'your-email@domain.com';

Using WP-CLI

wp user list --fields=ID,user_login,display_name,user_email

Common Username Locations

Here's where your username typically appears:

LocationWhat You SeeIs This Your Username?
Login ScreenThe field you type in✅ Yes
Profile Page"Username" field✅ Yes
Author URL/author/yourname/⚠️ Maybe (could be nickname)
Post Author"By John Doe"❌ No (display name)
CommentsComment author name❌ No (display name)

Username vs Display Name

Understanding the difference is crucial:

Username (Login Name)

  • Used for authentication
  • Cannot be changed after creation
  • Usually lowercase, no spaces
  • Required for API access
  • Examples: johndoe, admin, editor1

Display Name (Public Name)

  • Shown on posts and comments
  • Can be changed anytime
  • Can include spaces and capitals
  • Not used for authentication
  • Examples: John Doe, Site Admin, Chief Editor

Troubleshooting Username Issues

Can't Remember Username

If you've forgotten your username:

Use Email Recovery

  1. Go to the login page
  2. Click Lost your password?
  3. Enter your email address
  4. The recovery email will include your username

Check Welcome Email

Search your email for the original WordPress welcome message, which contains your username.

Contact Site Admin

If you're not the site owner, contact your administrator for username information.

Username Not Working

If your username isn't working with WP Automator:

Ensure you're using the actual username, not your email address or display name.

Common issues and solutions:

IssueSolution
Using email insteadFind actual username in profile
Case sensitivityWordPress usernames are case-insensitive
Special charactersEnsure proper encoding in API requests
Spaces in usernameOlder WordPress versions allowed spaces - use URL encoding

Security Best Practices

Never share your username and Application Password combination publicly or in untrusted environments.

Protecting Your Username

While usernames aren't secret, combine these practices for security:

  1. Use strong Application Passwords (not your main password)
  2. Limit API access to specific IP addresses if possible
  3. Monitor login attempts with security plugins
  4. Use two-factor authentication for admin access
  5. Regularly audit user permissions

Creating Additional Users

For better security, consider creating a dedicated user for API access:

Create New User

  1. Go to UsersAdd New
  2. Fill in the required fields:
    • Username: wp_automator_api
    • Email: Use a unique email
    • Role: Editor or Administrator

Generate Application Password

Follow the Application Password guide for the new user

Use in WP Automator

Add the new credentials to your site configuration

Quick Reference

Here's what you need for WP Automator:

WordPress Credentials:
  Username: [Found in Profile → Username field]
  Application Password: [Generated separately]
  Site URL: https://yourdomain.com

Once you have your username, proceed to generate an Application Password to complete your WP Automator setup!

Last updated on

Finding Your Username | WP Automator