Linux 软件免费装
Banner图

Smarto Login Security – 2FA, Custom Login URL & Brute Force Protection

开发者 sshahadatgsm
更新时间 2026年12月1日 18:43
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

custom login url login security brute force 2fa two-factor authentication

下载

1.0.0 1.0.1

详情介绍:

https://www.youtube.com/watch?v=BZyDzzNNuwI Smarto Login Security brings the controls for how people sign in to your site into one place: where they sign in, how they prove who they are, and what happens to their sessions afterwards. Every rule is enforced on the server when credentials are checked. A hidden URL or a missing button is never the only protection. Login URL and redirects Two-factor authentication Brute-force and abuse protection Sessions and accounts WooCommerce Smarto Login Security Pro Everything above is free and works without an account. Smarto Login Security Pro is a separate plugin, sold on wpsmarto.com, that adds role-specific and exclusive login routes, redirects by role and user, SMS codes, passwordless sign-in, temporary access links, live online status, roles limited to trusted IP addresses, and role and IP rules for other plugins' login forms. What it does not do

安装:

  1. Install and activate the plugin. Activation does not switch on any restriction, so nobody gets locked out.
  2. Go to Login Security > Login URLs to choose a custom login address. Open it in a private window to test it before signing out.
  3. Go to Login Security > Authentication to choose which roles must use two-factor authentication. Each user sets up their own methods on their profile page.
  4. Review Login Protection, CAPTCHA and IP Rules.
  5. Open Diagnostics to check your setup.

屏幕截图:

  • Custom login URL: move the login page to your own address; wp-login.php and wp-admin show a "not found" page to visitors.
  • Login Protection: active lockouts with the country of each IP, and failed-login limits per IP address and per account.
  • People see how many attempts they have left before sign-in is locked.
  • A locked visitor sees the lockout as soon as the login page opens.
  • Two-factor authentication: authenticator apps, email codes and backup codes, required for the roles you choose.
  • CAPTCHA: six options, and a real check of your keys before you save them.
  • Integrations: which login forms are protected, including WooCommerce and other plugins' forms.
  • XML-RPC and application passwords: block sign-ins over XML-RPC or turn it off, and limit application passwords to administrators.
  • Redirects: where people land after signing in or out, with a summary of what happens now.
  • Admin Activity: every change to the security settings, with who made it, the IP address and country.
  • Email notifications for lockouts, new admin IP addresses and settings changes, grouped so attacks never flood your inbox.
  • Diagnostics: checks that test your login address and spot conflicts.
  • Settings: trusted IP detection, privileged roles, session tracking and what happens to your data on uninstall.

常见问题:

My theme's Sign in button shows my hidden login address. How do I fix it?

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.

Can the plugin tell if something else already moves my login page?

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.

I forgot my custom login URL or locked myself out. What now?

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.
These switches only relax extra restrictions. A normal WordPress password is still required. With WP-CLI you can also run 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.

Does it work with WooCommerce?

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.

Does it work behind Cloudflare or a reverse proxy?

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.

A user lost their phone.

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.

Do I need pretty permalinks?

The custom login URL needs them. All other features work with any permalink setting.

Will deleting the plugin remove my data?

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.