Title: Traffic Origin Guard
Author: jasond727
Published: <strong>Òkúdù 19, 2026</strong>
Last modified: Òkúdù 19, 2026

---

Ṣàwárí àwọn plugin

![](https://s.w.org/plugins/geopattern-icon/traffic-origin-guard.svg)

# Traffic Origin Guard

 Láti ọwọ́ [jasond727](https://profiles.wordpress.org/jasond727/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/traffic-origin-guard.1.0.0.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/traffic-origin-guard/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/traffic-origin-guard/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/traffic-origin-guard/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/traffic-origin-guard/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/traffic-origin-guard/)

## Àpèjúwe

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

Use case:
 Ìtumọ̀ Yorùbá: – Your site is behind Cloudflare or another reverse proxy.
Ìtumọ̀ Yorùbá: – You want only proxy-originated requests to reach WordPress. Ìtumọ̀
Yorùbá: – You want automatic Apache rule management.

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

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

## Ìgbéwọlẹ̀

 1. Upload the plugin folder to /wp-content/plugins/traffic-origin-guard/.
 2. Activate Traffic Origin Guard from Plugins in WordPress admin.
 3. Go to Settings -> Traffic Origin Guard.
 4. Generate a token using the generator on the settings page.
 5. In Cloudflare, go to Rules -> Transform Rules -> Modify Request Header and add 
    a rule setting X-Origin-Secret to your token on all requests. Do this BEFORE saving
    the token to avoid locking yourself out.
 6. Paste the token into the token field and click Save Token. Confirm the Active server
    rules block appears on the page.
 7. Verify direct origin access without the header returns 403.

## FAQ

### Will this lock me out of wp-admin?

Yes, it can if misconfigured. This plugin enforces access at Apache level, so a 
wrong token/header setup can block wp-admin access.

To recover: connect to your server via FTP, SFTP, or your hostÌtumọ̀ Yorùbá: ’s 
file manager and open .htaccess in your WordPress root. Find and delete the entire
block between (and including) the lines “# BEGIN Traffic Origin Guard” and “# END
Traffic Origin Guard”. Save the file — your site will be accessible immediately.
Then set up your Cloudflare Transform Rule first before re-entering the token.

### Which servers are supported?

This plugin manages Apache .htaccess rules directly.

### What if .htaccess is not writable?

The plugin cannot enforce protection until .htaccess is writable. Fix permissions/
ownership and save settings again.

### What header name does the plugin check?

X-Origin-Secret

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Traffic Origin Guard” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti 
ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ jasond727 ](https://profiles.wordpress.org/jasond727/)

[Túmọ̀ “Traffic Origin Guard” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/traffic-origin-guard)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/traffic-origin-guard/),
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/traffic-origin-guard/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/traffic-origin-guard/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/traffic-origin-guard/?limit=100&mode=stop_on_copy&format=rss).

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.0.0**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọ̀sẹ̀ 3 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **Tó kéré sí 10**
 *  Ẹ̀yà WordPress ** 7.0 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **7.0.1**
 *  Ẹ̀yà PHP ** 8.3 tàbí ju bẹ́ẹ̀ lọ **
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/traffic-origin-guard/)
 * Àwọn àmì
 * [Apache](https://yor.wordpress.org/plugins/tags/apache/)[cloudflare](https://yor.wordpress.org/plugins/tags/cloudflare/)
   [hardening](https://yor.wordpress.org/plugins/tags/hardening/)[headers](https://yor.wordpress.org/plugins/tags/headers/)
   [security](https://yor.wordpress.org/plugins/tags/security/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/traffic-origin-guard/advanced/)

## Àwọn ìbò

Kò sí ìwádìí tí a tíì fi ránṣẹ́.

[Your review](https://wordpress.org/support/plugin/traffic-origin-guard/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/traffic-origin-guard/reviews/)

## Àwọn Olùkópa

 *   [ jasond727 ](https://profiles.wordpress.org/jasond727/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/traffic-origin-guard/)