Vés al contingut
WordPress.org

Català

  • Temes
  • Extensions
  • Notícies
  • Suport
  • Quant a
  • Patrons
  • Col·labora
  • Equip
  • Traduccions
  • Meetups
  • Aconseguiu el WordPress
Aconseguiu el WordPress
WordPress.org

Plugin Directory

Change Username

  • Envieu una extensió
  • Preferides
  • Entra
  • Envieu una extensió
  • Preferides
  • Entra
Image

Change Username

Per Danny van Kooten
Baixa
  • Detalls
  • Ressenyes
  • Instal·lació
  • Desenvolupament
Suport

Descripció

Change WordPress usernames from the user edit screen, with validation for existing users, illegal logins, and Multisite admins.

Change Username

WordPress does not let administrators change usernames by default. Change Username adds that option directly to the existing user edit screen, without a separate settings page.

Use it to update a WordPress username while keeping the same user ID, posts, comments, and profile data attached to the account.

Features

  • Change any WordPress username from the existing user edit screen.
  • Prevent username conflicts by checking whether the new username already exists.
  • Block usernames that are listed as illegal logins.
  • Follow the same username validation rules as WordPress core.
  • Retain superadmin rights when changing the username of a Multisite super admin.

Requirements

  • PHP version 7.4 or higher
  • WordPress version 6.0 or higher

About the plugin author

Danny van Kooten has been building WordPress plugins since 2010, starting with WordPress 3.0.

He is the founder of ibericode, the small software company behind popular WordPress plugins including Mailchimp for WordPress and Koko Analytics.

Captures

Change a WordPress username from the default user edit screen.
Change a WordPress username from the default user edit screen.

Instal·lació

Installing the plugin

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Change Username and click «Install now«
  2. Alternatively, download the plugin and upload the contents of change-username.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Go to Users, edit a user, and change the username from the existing user edit screen.

PMF

Where do I change a WordPress username after activation?

Go to Users, open the user you want to edit, and use the username control on the existing user edit screen.

Can I change an administrator username?

Yes. Any user with the edit_users capability can change usernames, including administrator usernames.

Can users change their own username?

Not right now. Only administrators with the edit_users capability can change usernames.

Does changing a username affect user IDs or posts?

No. The plugin changes the user’s login name, but it does not change the user ID. Existing posts, pages, comments, and user metadata stay assigned to the same user account.

Does this work on WordPress Multisite?

Yes. When changing the username of a Multisite super admin, the plugin keeps that user in the super admin list.

I’ve activated the plugin but nothing happens.

Please check if your server is running PHP version 7.4 or higher. The plugin will not do anything if you’re on an older version of PHP.

Ressenyes

Image

Simple and great

Anh Tran 20 de juny de 2026
This plugin is simple, lightweight and does one thing and it does very well. Nothing fancy, bloated or unneeded. I use it on all the sites whenever I need to change username. Thank you very much for creating this plugin!
Image

Works great!

Daan van den Bergh 19 de juny de 2026
I’ve been using this plugin for years, not knowing that the one and only Danny van Kooten was behind it. Now I do, so it was about time to place this well-deserved 5 star review. Bij deze!
Image

Super!

pawelboc 27 de octubre de 2025
Super!
Image

Does exactly what it should

clip1492 26 de juny de 2025
The plugin does exactly what it promises — and it does it well, without any issues. Some might point out the lack of frequent updates, but in my opinion, that’s actually a good sign: when a plugin this simple works reliably, it means there’s nothing that needs fixing.It also integrates perfectly into the user page, with no bloat or unnecessary overhead — clean, simple and efficient.
Image

It still works well but hasn’t been updated in a long time

default-design 29 de agost de 2023
It still works well but it hasn’t been updated in a long time, so I recommend another one: WP Edit Username
Image

this did nothing

ofihsdfoi 3 de gener de 2023
I typed in the new username, but nothing happened. It does not work.
Llegiu totes les 7 ressenyes

Col·laboradors i desenvolupadors

«Change Username» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors
  • Image Danny van Kooten
  • Image ibericode

Traduïu «Change Username» a la vostra llengua.

Interessats en el desenvolupament?

Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.

Registre de canvis

1.0.3 – Jun 19, 2026

  • Bump required PHP version to 7.4 or higher.
  • Bump required WordPress version to 6.0 or higher.
  • Bump tested WordPress version to 7.0.
  • Fix retaining Multisite super admin rights when the user is first in the super admin list.
  • Improve sanitization of submitted username values.
  • Add PHPCS and PHPStan checks to the release process.
  • Exclude Makefile from plugin release packages.

1.0.2 – Oct 04, 2024

  • Show message when new username is less than 3 characters long.
  • Show message when new username is more than 60 characters long.
  • Improved request validation in general.
  • Remove ES6 code from JS file to support a wider range of browsers.
  • Bump required PHP version to 7.2 or higher.

1.0.1 – Dec 23, 2022

  • Always load minified JS asset by default

1.0 – Dec 2016

Initial release.

Meta

  • Versió 1.0.3
  • Darrera actualització fa 5 dies
  • Instal·lacions actives 4.000+
  • Versió del WordPress 6.0 o posterior
  • Provada fins a 7.0
  • Versió del PHP 7.4 o posterior
  • Idioma
    English (US)
  • Etiquetes
    loginmultisiteuser managementusernameusers
  • Vista avançada

Valoracions

4.6 sobre 5 estrelles.
  • 6 valoracions de 5 estrelles 5 estrelles 6
  • 0 valoracions de 4 estrelles 4 estrelles 0
  • 0 valoracions de 3 estrelles 3 estrelles 0
  • 1 valoració de 2 estrelles 2 estrelles 1
  • 0 valoracions de 1 estrelles 1 estrella 0

Your review

Visualitzeu totes les ressenyes

Col·laboradors

  • Image Danny van Kooten
  • Image ibericode

Suport

Teniu quelcom a dir? Necessiteu ajuda?

Visualitza els fòrums de suport

  • Quant a
  • Notícies
  • Allotjament
  • Privadesa
  • Aparador
  • Temes
  • Extensions
  • Patrons
  • Apreneu
  • Suport
  • Desenvolupadors
  • WordPress.tv ↗
  • Impliqueu-vos
  • Esdeveniments
  • Feu una donació ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Català

  • Visiteu el nostre compte X (abans Twitter)
  • Visiteu el nostre compte de Bluesky
  • Visiteu el nostre compte al Mastodon
  • Visiteu el nostre compte de Threads
  • Visiteu la nostra pàgina al Facebook
  • Visiteu el nostre compte d'Instagram
  • Visiteu el nostre compte de LinkedIn
  • Visiteu el nostre compte de TikTok
  • Visiteu el nostre canal al YouTube
  • Visiteu el nostre compte de Tumblr
El codi és poesia.
The WordPress® trademark is the intellectual property of the WordPress Foundation.
Image
Image
Advertisement
Advertisement