跳到内容

Traffic Origin Guard

v1.0.0

jasond727 · 2026年6月19日 上架

Protect your WordPress origin by requiring a secret request header and blocking direct access with Apache .htaccess rules.

正在使用
10 以下
评分
暂无
累计下载
316
最近更新
2026年6月19日
需要 WordPress 7.0+已测试到 7.0.9PHP 8.3+

贡献者

Traffic Origin Guard helps protect your origin server from direct traffic by requiring a secret header value on every request.

Use case:
– Your site is behind Cloudflare or another reverse proxy.
– You want only proxy-originated requests to reach WordPress.
– You want automatic Apache rule management.

How it works:
– You set one token in plugin settings.
– The plugin writes Apache rules into .htaccess using a managed block.
– Requests missing the expected X-Origin-Secret header are blocked with HTTP 403.

Features:
– Apache .htaccess rule writer with managed BEGIN/END markers.
– Header validation status visibility on the settings page.
– One-click token utilities in admin (generate, copy, and “Use as token”).
– In-page Cloudflare setup guide with step-by-step instructions.
– Lockout recovery instructions displayed directly in the settings page.
– View details link on the Plugins list page.
– Automatic cleanup on plugin deactivation and uninstall.

Plums

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

导航

说明

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

© 2026 Plums