This plugin provides simple password protection for staging sites. You can find the settings page in Settings > Password Protection. When active, the plugin provides four modes:
- Disabled: Access to the site is not restricted.
- WordPress user account: Access to the site is restricted to logged in users.
- Password: Access to the site is restricted to users who enter a single, common password.
- Password or WordPress user account: Access to the site is restricted to logged in users or users who enter a single, common password.
When the third or fourth option is selected, users will need to re-enter the common password after 24 hours.
Exceptions are made for a few URLs and endpoints:
- Cron requests (wp-cron.php)
- REST API requests (^/wp-json/*)
Released under the MIT License. See LICENSE for details.