Linux 软件免费装
Banner图

Frontend Gatekeeper

开发者 jdbg
更新时间 2026年5月27日 17:13
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

preview coming soon maintenance mode access control private site

下载

1.0.1 1.0.2 1.0.3 1.0.0 1.0.4

详情介绍:

Frontend Gatekeeper hides the public frontend of your WordPress site unless visitors arrive with a configured URL parameter and value. It is useful for staging sites, soft launches, client previews, and pre-release content where you want to share a single shareable link instead of issuing individual user accounts. Logged-in users always see the site normally, so editors and administrators are never blocked. Features Typical use cases

安装:

  1. Upload the frontend-gatekeeper folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress. On multisite, you can network-activate or activate per site.
  3. Go to Settings > Frontend Gatekeeper and configure the parameter name, parameter value, and blocked message.
  4. Enable the gate and share the generated access URL.

升级注意事项:

1.0.4 Fixes 500 errors caused by the access parameter being appended to theme, plugin, and core asset URLs. 1.0.3 Adds a Settings shortcut on the Plugins screen. 1.0.2 Gate is now off by default on fresh installs. 1.0.1 Adds Bulgarian translation. 1.0.0 Initial release.

常见问题:

What happens to logged-in users?

Logged-in users are never gated. Administrators, editors, and any other authenticated visitor see the site as normal.

What do unauthorized visitors see?

They see your configured blocked message, served with an HTTP 404 status and no-cache headers, so the site does not advertise that it exists at that URL.

Will the access parameter spread to external links?

No. The parameter is only appended to same-site URLs. Links to other domains, mail/tel/sms/javascript URIs, and fragment-only links are left alone.

Does it work on multisite?

Yes. Settings are stored per site, and on subdirectory networks the parameter is only appended to links that fall under the current site's path.

Is this a real security boundary?

No. The access parameter is a soft gate suitable for previews and staging. Anyone with the link gets in, and the value can appear in browser history and server logs. Use real authentication for anything sensitive.

Does it block the REST API, admin, or login page?

No. wp-admin, AJAX, cron, the REST API, and wp-login.php are always allowed through so the site stays manageable.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0.0