LH Site Privacy decides who can visit a WordPress site. It adds five private levels to Settings > Reading, next to WordPress’s own choices for search engine visibility, and enforces them everywhere a site’s content can be read, not just on its pages.
Super admins and site administrators can always visit, so nobody can lock themselves out.
A visitor who is not logged in is sent to the login form, which explains that the site is private. At the password level they see a short password form instead. Someone who is logged in but not allowed in sees a plain page saying so, with a link to log in as someone else.
lh_site_privacy_return_exempt_rest_namespaces filter, as LH Browser Reporting API does for browser reports, which never carry cookies.Uploaded files are served directly by the web server, so they are not covered. Use a private uploads plugin for files that must stay private.
With Enable Mastodon Apps active, members can use a Mastodon app with a private site. The app can find the site and register before anyone logs in; signing in then sends the member to log in, and someone without access is refused. Timelines, accounts and posts stay private.
Every site on a network can use every level. The network admin chooses only the level new sites start with, and Network Admin > Sites shows each site’s privacy. Site administrators, and AI assistants acting for them, can read and change a site’s privacy through two MCP abilities.