Docs

Multisite

4 min readUpdated November 19, 2026

Nahnu Login Shield is built for single WordPress sites. It has not been tested on WordPress Multisite, and network activation is not recommended. This topic explains what that means in practice, what is safe to do, and what to watch for if you try it anyway.

What we support#

SetupStatus
A single WordPress siteSupported. This is what the plugin is built and tested for.
Multisite, plugin activated on individual sitesNot tested. It may work, but it is not supported.
Multisite, Network ActivateNot recommended.

If you run Multisite, please test on a staging copy first, and keep your recovery options ready (see I locked myself out).

The plugin has no network-level settings screen and no Network Admin menu. It was written to work one site at a time, so a few things behave differently from what you might expect on a network:

  • Settings are per site. Every site on the network has its own copy of the settings: lockout limits, blocklist, whitelist, CAPTCHA provider and keys, geo-blocking, 2FA rules, and so on. Changing them on one site does not change the others. There is no way to set them once for the whole network.
  • Each site has its own log and lockout list. The event log is stored per site, and so are the lockouts. An attacker locked out on one site is not locked out on the others.
  • Setup runs on the site where you activate it. Network activation runs the plugin’s setup once, not for every site on the network, and the plugin does not set itself up on sites created later. From 1.0.18 each site creates its tables on its first page load. The daily clean-up task is scheduled only where the plugin was activated, so on other sites the log is not trimmed until you deactivate and activate the plugin there.
  • Users belong to the whole network, but plugin data per site. Two-factor settings, passkeys and magic-link data are stored against the user account, so a user’s 2FA setup and passkeys follow them across the network, while the rules (which roles need 2FA, and so on) are set per site. Plan for this before you turn 2FA on for a role.
  • The early-block mu-plugin is shared. There is only one must-use plugins folder for the whole network, so the early-block file is a single file used by every site. It reads each site’s own settings, but installing or removing it affects all sites at once. Deactivating the plugin on one site removes the file for everyone.
  • Force logout reaches the whole network. Users are shared, so the Force logout button on one site ends sessions for those users on every site.
  • Passkeys are tied to a domain name. A passkey works only on the domain it was created on. If your subsites use different domains or subdomains, a passkey made on one won’t work on another, unless you set a shared passkey domain (see Passkeys).
  • Uninstalling cleans every site. Deleting the plugin runs a clean-up that visits each site on the network and removes its settings, log table and stored data. If you delete the plugin on a network, all sites lose their data. See Uninstalling and removing your data.

If you want to use it on a network#

The safest approach:

  1. Activate it on individual sites, not network-wide. In the Network Admin plugin list, leave it as Activate (not Network Activate), then activate it from each site’s own Plugins screen.
  2. Configure each site separately under Settings → Login Shield. Use the same values for sites that should behave alike.
  3. Be careful with the early-block mu-plugin. Install it only if every site on the network should use it, and remember that turning it off on one site removes it for all.
  4. Whitelist your own IP on every site, or define NAHNLS_BYPASS_IP in wp-config.php. That constant is network-wide because it is a single file for the whole installation.
  5. Decide on passkeys before rolling out. If sites use different domains, check Passkeys for the shared domain setting.
  6. Test a lockout on a staging copy before you rely on it for the live network.

Things that may go wrong#

SymptomLikely causeWhat to do
The log on a subsite keeps growing and old entries are not removedThe daily clean-up task was never scheduled on that siteDeactivate and activate the plugin on that site
A setting you changed on one site is not on anotherSettings are per siteChange it on each site
Everyone is signed out on every siteForce logout acts on shared usersUse it with care on a network
The early-block file disappearsThe plugin was deactivated or deleted on one siteReinstall it from a site where the plugin is active
A passkey doesn’t work on another subsitePasskeys are tied to one domainSee Passkeys; use a shared passkey domain or enroll separately
Lockouts on a subsite hit users on anotherThey shouldn’t: lockouts are per site. Check Lockouts are keyed to the wrong IP if a CDN is involvedCheck IP detection

Reporting problems#

If you run the plugin on a network and find a problem, please tell us. Use the page on the website and include your WordPress version, how many sites are on the network, whether sites use subdomains, subfolders or mapped domains, and how the plugin was activated. Multisite support is decided by what people ask for. See Protect any other form for how to request an integration or feature.

Was this helpful?

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only