Title: Frontend Gatekeeper
Author: Jordan Hlebarov
Published: <strong>22 می 2026</strong>
Last modified: 31 جولای 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/frontend-gatekeeper/assets/banner-772x250.png?rev=3543665)

![](https://ps.w.org/frontend-gatekeeper/assets/icon-256x256.png?rev=3543665)

# Frontend Gatekeeper

 توسط [Jordan Hlebarov](https://profiles.wordpress.org/jdbg/)

[دانلود](https://downloads.wordpress.org/plugin/frontend-gatekeeper.1.0.5.zip)

[پیش‌نمایش زنده](https://fa.wordpress.org/plugins/frontend-gatekeeper/?preview=1)

 * [جزئیات](https://fa.wordpress.org/plugins/frontend-gatekeeper/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/frontend-gatekeeper/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/frontend-gatekeeper/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/frontend-gatekeeper/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/frontend-gatekeeper/)

## توضیحات

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.

## نصب

 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.

## سوالات متداول

### 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.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/7573f2fa0f3ad168a33208c28d235669939d25832fa6f0c0204c58083f4406fb?
s=60&d=retro&r=g)

### 󠀁[Share staging sites with one link](https://wordpress.org/support/topic/share-staging-sites-with-one-link/)󠁿

 [Konstantin Dankov](https://profiles.wordpress.org/koki4a/) 27 ژوئن 2026

The standout feature is automatic link propagation, so visitors browse freely once
they’re in. It’s block-theme aware, multisite-safe, and never blocks logged-in users
or admin. Lightweight and does exactly what it promises.

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/)

## توسعه دهندگان و همکاران

“Frontend Gatekeeper” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Jordan Hlebarov ](https://profiles.wordpress.org/jdbg/)

“Frontend Gatekeeper” به 1 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/frontend-gatekeeper/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Frontend Gatekeeper” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/frontend-gatekeeper)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/frontend-gatekeeper/)،
[مخزن SVN](https://plugins.svn.wordpress.org/frontend-gatekeeper/) را بررسی کنید،
یا از طریق [RSS](https://plugins.trac.wordpress.org/log/frontend-gatekeeper/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/frontend-gatekeeper/) مشترک
شوید.

## گزارش تغییرات

#### 1.0.5

 * Updated Plugin URI and Author URI to https://jdbg.com/.

#### 1.0.4

 * Fix: the access parameter is no longer appended to URLs under `/wp-content/`,`/
   wp-includes/`, `/wp-admin/`, or to WordPress core PHP entry points (wp-login.
   php, xmlrpc.php, etc.). This prevents 500 errors on theme/plugin assets and keeps
   the parameter off core requests.

#### 1.0.3

 * Added a Settings link on the Plugins screen row for quicker access to the settings
   page.

#### 1.0.2

 * Gate is now disabled by default on activation so newly installed sites stay public
   until configured.

#### 1.0.1

 * Added Bulgarian (bg_BG) translation.

#### 1.0.0

 * Initial release.
 * Frontend gate that hides public WordPress pages unless a configured URL parameter
   and value are present.
 * Per-site WP Admin settings under **Settings > Frontend Gatekeeper** with an On/
   Off toggle switch.
 * Generated access URL display in the settings screen, with a Copy-to-clipboard
   button and full-URL preview.
 * Logged-in users always bypass the gate, alongside wp-admin, REST, AJAX, cron,
   and `wp-login.php`.
 * Same-site URL propagation for WordPress-generated links.
 * Classic menu link attribute support.
 * Gutenberg and block-based theme support through the `render_block` filter.
 * Footer-script fallback for frontend links/forms generated outside normal WordPress
   rendering.
 * Multisite-aware URL scoping for subdomain and subdirectory networks.

## اطلاعات

 *  نگارش **1.0.5**
 *  آخرین به‌روزرسانی **1 ماه پیش**
 *  نصب‌های فعال **20+**
 *  نگارش وردپرس ** 5.7 یا بالاتر **
 *  آزمایش‌شده تا **7.0.4**
 *  نگارش PHP ** 8.0 یا بالاتر **
 *  زبان‌ها
 * [Bulgarian](https://bg.wordpress.org/plugins/frontend-gatekeeper/) و [English (US)](https://wordpress.org/plugins/frontend-gatekeeper/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/frontend-gatekeeper)
 * برچسب
 * [access-control](https://fa.wordpress.org/plugins/tags/access-control/)[coming soon](https://fa.wordpress.org/plugins/tags/coming-soon/)
   [maintenance mode](https://fa.wordpress.org/plugins/tags/maintenance-mode/)[preview](https://fa.wordpress.org/plugins/tags/preview/)
   [private site](https://fa.wordpress.org/plugins/tags/private-site/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/frontend-gatekeeper/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/frontend-gatekeeper/reviews/)

## مشارکت کنندگان

 *   [ Jordan Hlebarov ](https://profiles.wordpress.org/jdbg/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/frontend-gatekeeper/)