Frequently asked questions
Short answers to the questions people ask most. Each answer points to the topic with the full steps.
General#
What does Nahnu Login Shield do?
It protects your WordPress login and your forms. It limits failed logins and locks out attackers, blocks countries and IP addresses, adds CAPTCHA and a JavaScript check, and adds two-factor authentication, passkeys and magic-link sign-in. See What Nahnu Login Shield does.
Is it free?
Yes. It is a free plugin from Nahnu Fitness LLC. We can’t promise every request, but we add as many integrations as we can.
What does it need?
WordPress 6.2 or newer and PHP 8.3 or newer.
Does it slow my site down?
It is built not to. Its scripts load on the login page and on pages with forms you protect, not on every page. Country lookups from CDN headers cost nothing, and results from the lookup services are cached. The optional early-block file makes attacks cheaper for your server, because locked-out IPs are turned away before WordPress loads.
Does it work on Multisite?
It hasn’t been tested on Multisite and network activation isn’t recommended. See Multisite.
Will it conflict with my other security plugins?
It can if two plugins do the same job, such as two lockout plugins or two plugins that change the login address. Use one plugin for each job. See Conflicts with other security plugins.
What happens to my settings if I deactivate it? If I delete it?
Deactivating keeps your settings and data. Deleting the plugin removes its settings, event log and stored user data. See Uninstalling and removing your data.
Getting locked out#
I locked myself out. How do I get back in?
Add your IP address to wp-config.php: define( 'NAHNLS_BYPASS_IP', 'your.ip.address' );. If that isn’t enough, rename the plugin folder in wp-content/plugins/ to turn the plugin off. See I locked myself out.
Does the bypass line also skip two-factor authentication?
No. It exempts you from lockouts, the IP blocklist, geo-blocking and the early-block rate limit only. For a 2FA problem, see the next question.
I can’t get my 2FA code. What now?
Try a backup code, or ask for the email code again. If that fails, add define( 'NAHNLS_DISABLE_2FA', true ); to wp-config.php, sign in, fix your 2FA setup, and remove the line. See I locked myself out, Fix 4.
Everyone gets locked out together, and the log shows one IP for all of them.
Your site is behind a proxy or CDN and the plugin is seeing the proxy’s address. Turn on Trust proxy headers on the Lockout tab, if your provider sends the real IP. See Lockouts are keyed to the wrong IP (proxies and CDNs).
Lockouts and blocking#
Can attackers get around the lockout by changing IP addresses?
The per-username lockout covers this. If the same username is tried from too many IPs within the time window, the username itself is locked. Honeypot usernames (names like “admin”) give stronger protection, because one attempt locks the IP straight away. See Per-username lockout and Honeypot usernames.
What is a honeypot username?
A username that you list as a trap. A real account’s username on the list is a trap too: that user signs in with their email address, and anyone who tries the username is locked out. Email addresses of real accounts are never treated as traps. See Honeypot usernames.
Can I block whole ranges of IPs?
Yes. The blocklist and whitelist accept single IPs and CIDR ranges, for IPv4 and IPv6. See IP blocklist and whitelist.
Can I block countries?
Yes. See How geo-blocking works. With a CDN, the plugin reads the country from the CDN’s headers. Without one, it uses a free IP lookup service. See Geo-blocking without a CDN.
What is the early-block file, and is it safe?
It is an optional file that turns away locked-out and rate-limited IPs before WordPress loads, which saves server load during bot floods. It is never installed unless an administrator clicks Install early-block mu-plugin on the General tab. Its counters are small text files in your uploads folder. Clicking Remove mu-plugin on the General tab, deactivating the plugin or deleting it removes the file. See The early-block mu-plugin.
CAPTCHA#
Do I need OOPSpam?
No. OOPSpam is one of the CAPTCHA options. Every other provider and every other feature works without it. If you do choose it, install and set up the OOPSpam Anti-Spam plugin first.
Which CAPTCHA should I choose?
See Choose a CAPTCHA provider.
Can I use the plugin without any CAPTCHA?
Yes. Set the provider to None. Lockouts, geo-blocking, honeypot usernames, the JavaScript check and 2FA all work without a CAPTCHA. See Use Shield without a CAPTCHA.
What happens if the CAPTCHA provider is down?
It depends on the provider and on the problem. See What happens if a provider goes down.
A visitor says the CAPTCHA never appears or the login says “Security check expired”.
Usually a caching or script-optimization problem. See Caching and login pages.
Two-factor authentication, passkeys and magic links#
Who has to use two-factor authentication?
When 2FA is on, every user in the roles you pick must enter a code on every password login. Email codes are the baseline, and users can add an authenticator app or a passkey. See Choose which roles use 2FA.
Can users turn 2FA off for themselves?
No. An administrator can reset another user’s 2FA, and the user falls back to email codes. See How 2FA works.
What is a passkey?
A sign-in method that uses your device’s fingerprint, face or PIN, or a security key, instead of a password. See Passkeys.
What is a magic link?
An email with a one-time link that signs the user in. See Magic links.
Can I limit passkeys and magic links to some roles?
Yes. See Limit passwordless sign-in by role.
WooCommerce and forms#
Does it work with WooCommerce?
Yes. Each My Account form has its own switch on the Integrations tab, and customers get a Login & security tab in My Account. See WooCommerce My Account.
Which form plugins are supported?
Bricks Builder, SureForms and WordPress comments. See their topics. Any other form can be protected through the developer API. See Protect any other form.
How do I ask for a new integration?
Use the Support page on the website. See Protect any other form for what to include.
Can I protect a form embedded from another service (HubSpot, for example)?
No. Those forms are submitted to the other service, not to your site.
Privacy and data#
What does the plugin store?
An event log of login events, lockout records, and settings, plus 2FA, passkey and sign-in data stored against user accounts. See What data Nahnu Login Shield stores.
Does it contact other services?
Only the ones you turn on, such as your CAPTCHA provider, the geo lookup services, and Bunny.net or Cloudflare for edge blocking. See External services Nahnu Login Shield can contact.
How long is the log kept, and can I remove it?
See Log retention and data removal.
Developers#
Is there an API?
Yes. There are PHP functions, hooks, a JavaScript API and REST routes. See the Developer API category, starting with Developer quick start.
Where is the changelog?
At https://www.nahnuloginshield.com/docs/main/changelog/.
Was this helpful?
Thanks for your feedback!
✓ Feedback received. Thank you!