Keep your WordPress site private.
Site Secrets is a simple plugin to keep your WordPress site private. When active, it will redirect all unauthenticated users to the login screen.
By default, Site Secrets requires that the user has been added to the site. You can broaden the permissions model to any logged-in users with the following snippet:
add_filter( 'site_secrets_requires_membership', '__return_false' );
We're happy to receive feedback, questions, feature suggestions, and pull requests