| 开发者 | sshahadatgsm |
|---|---|
| 更新时间 | 2026年12月1日 18:43 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp-login.php and wp-admin from visitors.wp-login.php open for customers while staff use the hidden address, or send visitors to a login page you choose.?author=N lookups, and a hidden REST user list.Go to Login Security > Login URLs and change Login links for visitors. Choose Keep wp-login.php open for customers if your theme or shop uses wp-login.php as the customer login, or Send visitors to a login page you choose for My Account or another login page. The Is your login URL public? card checks your home page again after you save.
It looks in four places: login link filters (each one is tested, and the plugin, theme, child theme, must-use plugin or snippet it comes from is named), well-known hide-login plugins, rules in .htaccess, and a visit to wp-login.php and wp-admin as a signed-out visitor. The results are under Login Security > Login URLs > Other tools that change the login page.
It cannot see everything. Code that hides the login only for some visitors or IP addresses, and rules set by your host, a CDN, a firewall or nginx, may not be found or may show up only as an unexpected answer in the visit test. Finding nothing does not prove nothing else is there, so always test your login address in a private window after a change.
Add one of these lines to wp-config.php, sign in, fix the setting, then remove the line:
define( 'WPSMARTO_LS_DISABLE_CUSTOM_LOGIN', true ); restores wp-login.php.define( 'WPSMARTO_LS_DISABLE_IP_RULES', true ); turns off IP rules.define( 'WPSMARTO_LS_DISABLE_CAPTCHA', true ); turns off CAPTCHA.define( 'WPSMARTO_LS_DISABLE_2FA', true ); turns off 2FA if email is down.define( 'WPSMARTO_LS_DISABLE_LOCKOUTS', true ); turns off failed-login lockouts.define( 'WPSMARTO_LS_SAFE_MODE', true ); does all of the above.wp smarto-ls login-url reset, wp smarto-ls ip clear, wp smarto-ls lockouts clear or wp smarto-ls 2fa reset <user>.
The custom login address is also emailed to the site administrator whenever it changes.
Yes. The My Account login, registration, lost-password and new-password forms are protected, customers stay on My Account (or a page you choose) after signing in, and checkout is not changed.
Yes. Under Settings, choose the header your proxy sets (for example CF-Connecting-IP) and list the proxy's IP ranges as trusted. Headers from other sources are ignored, so visitors cannot fake their IP address.
They can sign in with a backup code. An administrator can also reset their two-factor methods from their profile page after confirming who they are.
The custom login URL needs them. All other features work with any permalink setting.
Only if you turn on "Delete all plugin data when the plugin is deleted" under Settings. Otherwise settings, history and users' 2FA setup are kept for a reinstall.