Linux 软件免费装
Banner图

SmartUsername – Change Username, Admin Username Changer & Login Protection

开发者 digitalpritam
readymadewp
更新时间 2026年10月30日 03:09
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

change username username changer edit username rename user admin username

下载

1.0.0 1.4.0 1.5.0 1.2.0 1.3.0

详情介绍:

WordPress does not let you change a username after an account is created, not even the admin username. SmartUsername is a username changer for WordPress: open SmartUsername > Change Username, pick the user, type the new name and click once. It renames the existing account in place, so posts, comments, roles, passwords and user meta stay attached to the same user. Use it to change the admin username (the first thing login bots guess), rename a user after a typo or a rebrand, edit a username that was generated from an email address, or update usernames across a client site. Then switch on Login name protection so visitors and bots cannot read your login names at all. Features Security External services The Exposure check card has a link, "Check from outside with the free Username Exposure Checker". It opens a free tool on digitalpritam.in in a new tab with your site address filled in. Nothing is sent until you click the link. The tool then reads only public pages of your site (such as the REST API users list and author URLs) and shows what it found. The plugin itself never contacts this service. Tool: https://www.digitalpritam.in/tools/wordpress-username-checker/ Privacy policy: https://www.digitalpritam.in/privacy-policy/ Privacy SmartUsername does not send any data off your site and does not track anything. The rename log (old and new usernames, author slugs, user IDs and the time) is stored in your own database and is removed when you delete the plugin. The optional notification email is sent by your own site through wp_mail() to the renamed user only. For developers SmartUsername Pro An optional paid add-on for agencies and busy sites adds a weekly exposure monitor, bulk renames, undo, full history, lockouts, reports and white label. Every feature in this free plugin stays free and complete. See https://smartusername.com/pro/

安装:

  1. Upload the smartusername folder to /wp-content/plugins/, or install it from Plugins > Add New.
  2. Activate the plugin through the Plugins screen.
  3. Go to SmartUsername > Change Username in the admin menu.

屏幕截图:

  • Protection: how many places show login names, a one-click fix, and the switches that hide them.
  • History: every username change on this site.
  • The optional Pro add-on, listed in the sidebar. Nothing in the free plugin is locked.

升级注意事项:

1.5.0 Redesigned, simpler Change Username screen. Nothing else changes. 1.4.0 Refreshed design and loading feedback on the Change Username screen. 1.3.0 Adds an exposure check, one-switch login name protection and trap usernames with an attack counter. 1.2.0 Adds a risky username security check, profile screen shortcut, optional user email, optional self-service renames and WP-CLI commands. 1.1.0 Fixes silent failures on long or invalid usernames, adds renaming of other users, live validation, author slug update and a rename log.

常见问题:

How do I change the admin username in WordPress?

Go to SmartUsername > Change Username, pick the admin account, type the new username and click Change username. You are signed out and log in again with the new name or your email. Posts, password and role stay the same. Tick "Block the old username" so every login that still tries admin is refused.

How do I change a username in WordPress without a plugin?

Only by creating a new user and moving the content over, or by editing the database directly. SmartUsername does it safely in place, checks the new name first and logs every change.

Who can change usernames?

Administrators with the manage_options capability. On multisite, usernames are shared by the whole network, so the manage_network_users capability is required.

Can I change another user's username?

Yes. Choose the user in the list, click "Change username" under their name on the Users screen, or use the button next to the Username field on their profile.

Can users change their own username?

Only if you allow it. Go to SmartUsername > Settings, tick "Allow it", choose the roles and set the number of days between changes. Those users then see Profile > Change Username.

Will the user be told about the change?

Tick "Email the user their new username" and they get a short email from your site with the old and new username and the login link. If your site cannot send email, the screen tells you so.

Why does it warn me about the username admin?

Automated login attacks try usernames like admin first. Renaming that account means an attacker has to guess the username as well as the password. You can dismiss the warning.

Can I change my own username?

Yes. Tick the confirmation box. You are signed out and log in again with the new username or your email address.

What characters are allowed?

The same as WordPress core: up to 60 characters, using letters, numbers, spaces and . - _ @. Anything else is rejected with a message and nothing is changed.

What happens to posts, comments and other data?

Nothing. They are linked to the user ID, which does not change.

Does the author URL change?

Only if you tick "Also update the author URL slug". The old author URL then redirects to the new one with a 301. If you leave it unticked, public URLs stay exactly as they were.

Is the display name changed?

No. Edit the display name on the user's profile if needed.

Can users still log in with their email address?

Yes. WordPress accepts the email address on the login screen, and renaming does not change it.

Does it work on multisite?

Yes, for users who are not network super admins. Activate it on each site where you need it, or network activate it.

The outside checker says Partly hidden. Why?

Your theme probably links to author pages, so author slugs are public. After "Fix author slugs" they are based on display names, not logins, which is why the plugin says Hidden. To keep author slugs out of public pages too, turn off author archives, if your site does not need author pages.

Will hiding login names break my site?

Visitors can no longer read the REST API users list, and ?author=1 lookups go to the home page. Logged-in users who can write posts still get the users list, so the block editor works as before. If another plugin needs the public users list, leave the switch off.

How do trap usernames work?

Nobody can log in with a name that no account uses, so every attempt with admin (when no admin account exists) or with an old name you kept is a bot. The plugin refuses it with the normal error and adds it to the "Login attacks caught" widget. If you later create a real account with that name, the trap stops applying to it.

What is removed when I delete the plugin?

The rename log, the settings, the trap names and counts, the stored old author slugs used for redirects and the small per-user markers for self-service and dismissed notices.

更新日志:

1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0