| 开发者 | roehler |
|---|---|
| 更新时间 | 2026年4月3日 07:36 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.0 及以上 |
| WordPress版本: | 6.8.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/private-website directory, or install the plugin through the WordPress plugins screen directly.This plugin restricts access to your website content to only logged-in users. If a user is not logged in, they will be redirected to the login page.
No, there are no settings to configure. Simply activate the plugin to enforce the login requirement and deactivate it if you no longer want to restrict access.
Yes! Since version 0.3.0 you can use the private_website_allowed_pages filter to whitelist additional page filenames and private_website_allowed_rest_routes to open specific REST API routes. Add these filters in your theme's functions.php or a custom plugin.
To stop requiring a login to access your site, simply deactivate the plugin from the 'Plugins' screen in WordPress.
private_website_allowed_rest_routes).X-Frame-Options: DENY header on redirect responses to prevent clickjacking.private_website_allowed_pages.Appsero\Client).?> tag to prevent accidental whitespace output.