Username Changer
Allow users to change their username directly from their profile page. No more creating new accounts just because someone made a typo during registration or wants to rebrand their identity.
Use Cases
- Fix typos in usernames created during rushed registrations
- Update unprofessional usernames on business sites
- Rebrand user accounts to match new business names
- Handle name changes (marriage, legal name change)
- Clean up imported users with system-generated usernames
How It Works
- A “Change Username” section appears on user profile pages
- Enter the new desired username
- Save the profile
- The username is updated instantly across WordPress
- User can immediately log in with the new username
Where to Find It
After enabling this module, go to Users → Your Profile (or edit any user). You’ll see a “Change Username” section with a text field for the new username.
Changing a Username
For Yourself
- Go to Users → Your Profile
- Scroll to the “Change Username” section (marked with SWITCHBOARD badge)
- Enter your new username in the “New Username” field
- Scroll down and click Update Profile
- Your username is now changed
For Other Users (Admins)
- Go to Users → All Users
- Click Edit on the user whose username you want to change
- Scroll to the “Change Username” section
- Enter the new username
- Click Update User
Username Requirements
The new username must:
- Be unique (not already used by another user)
- Follow WordPress username rules (letters, numbers, underscores, hyphens, periods, @ symbol)
- Not be empty
Invalid usernames are automatically sanitized. If the username is already taken, you’ll see an error message.
Settings
This module has no configuration options. It works automatically once enabled.
What Gets Updated
When you change a username:
- Updated: The
user_loginfield in the database - Unchanged: User ID, email, display name, posts, comments, and all other data
The user keeps all their content, settings, and relationships. Only the login credential changes.
Who Can Change Usernames
| User Type | Can Change Own | Can Change Others |
|---|---|---|
| Subscriber | Yes | No |
| Contributor | Yes | No |
| Author | Yes | No |
| Editor | Yes | No |
| Administrator | Yes | Yes |
Any user with profile editing capability can change their own username. Only users with edit_users capability can change other users’ usernames.
After Changing
Once changed:
- The user must use the new username to log in
- Old username is completely removed - it won’t work
- The old username becomes available for other users to register
- Email login still works if your site supports it
FAQ
Can I change an admin’s username?
Yes, if you have theedit_users capability (typically administrators). You can even change your own admin username.Will changing username break anything?
No. WordPress uses user IDs internally, not usernames. All posts, comments, media, and settings remain attached to the user.Can I revert a username change?
There’s no automatic undo, but you can simply change it again. Enter the old username (if it’s still available) and save.What happens to author URLs?
Author archive URLs use theuser_nicename which is based on the username. If your theme or permalinks use author URLs, they may change. The old URL won’t automatically redirect.Can I restrict who can change usernames?
By default, anyone who can edit their profile can change their username. To restrict this further would require custom code.Does this work with LDAP or SSO?
If your site uses external authentication (LDAP, SAML, OAuth), changing the local WordPress username may cause issues. The external system likely controls the username. Test carefully in such environments.Consider the impact on author archive URLs before changing usernames on a live site. If you use /author/username/ style URLs and the username changes, old links will break unless you set up redirects.
For sites where username consistency is important (like forums or communities), you might want to disable this module and handle username changes manually as an admin.
Get access to all 147 modules with a single license