Linux 软件免费装
Banner图

MDI HTTP Referer Block

开发者 mediuminteractive
更新时间 2025年11月17日 14:23
PHP版本: 5.6 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

cookie redirect referrer referer hide-content

下载

1.0.1 1.0.2 1.0

详情介绍:

MDI HTTP Referer Block enables WordPress site owners to detect and control user experience based on the origin of traffic. By analyzing the HTTP referrer (both server-side via PHP and client-side via JavaScript when headers are missing), this plugin makes it easy to apply different behavior for visitors arriving from ads, social platforms, or syndicated search networks. You can define specific referrer domains or patterns, and when a visitor matches those conditions, the plugin can: This gives marketers, advertisers, and site owners fine control over how different audiences see the site. Example use cases: The plugin sets a tracking cookie (mdi_syndicated_ref) to remember the detected source for the configured number of days, ensuring consistent visibility rules on repeat visits. MDI HTTP Referer Block helps you tailor on-site experiences dynamically based on real visitor origin — simple, server-side controlled, and privacy-respecting. For a full guide on blocking syndicated search traffic (e.g., Google Ads Performance Max), see:\ https://mediuminteractive.com/how-to-block-syndicated-search-traffic-from-performance-max-campaigns-in-google-ads/

安装:

  1. Upload the mdi-http-referer folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Configure settings at: Settings → HTTP Referer.

常见问题:

Will this expose the full referrer URL publicly?

No. The plugin only outputs host and path in the notification to avoid leaking query parameters. Referrer data is sanitized.

Does the plugin support regex matching?

The client-side code treats configured domain strings as patterns and will try to use them as regex. Keep patterns simple (example: example\.com or partner.example).

更新日志:

1.0