跳到内容

Frontend Gatekeeper

v1.0.5

Jordan Hlebarov · 2026年5月22日 上架

Hide the public WordPress frontend behind a secret URL parameter. Anyone with the link gets in; everyone else sees a 404.

正在使用
40+
评分
5.0 / 5
累计下载
848
最近更新
2026年7月31日
1 条评价需要 WordPress 5.7+已测试到 7.0.9PHP 8.0+

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

  • Hide the entire public frontend with a single toggle.
  • Configurable parameter name and secret value, set per site.
  • Custom blocked message shown to unauthorized visitors (served with a 404 status).
  • Same-site link propagation: WordPress-generated links, menus, and block content automatically carry the access parameter forward, so visitors stay authorized while browsing.
  • Footer-script fallback that adds the parameter to links and forms rendered outside normal WordPress filters.
  • Gutenberg and block-theme aware through the render_block filter and WP_HTML_Tag_Processor when available.
  • Multisite-aware URL scoping for subdomain and subdirectory networks: access on /site-a/ will not leak the token to /site-b/.
  • Logged-in users, wp-admin, REST API, AJAX, cron, and wp-login.php are always allowed through.

Typical use cases

  • Sharing a staging or pre-launch site with clients and stakeholders.
  • Gating a soft launch behind a single link instead of provisioning accounts.
  • Hiding draft or campaign content until you are ready to publish.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums