plugin-icon

Traffic Origin Guard

作者:jasond727·
Protect your WordPress origin by requiring a secret request header and blocking direct access with Apache .htaccess rules.
版本
1.0.0
最后更新
Jun 19, 2026

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.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 7.0
这个插件是可用的下载,适用于您的站点。