Title: Smart Traffic Source Filter for WordPress
Author: Medium Interactive
Published: <strong>23 Ottobre 2025</strong>
Last modified: 18 Dicembre 2025

---

Ricerca i plugin

![](https://ps.w.org/mdi-http-referer-block/assets/banner-772x250-old.jpg?rev=3470899)

![](https://ps.w.org/mdi-http-referer-block/assets/icon-128x128-odl.png?rev=3470899)

# Smart Traffic Source Filter for WordPress

 Di [Medium Interactive](https://profiles.wordpress.org/mediuminteractive/)

[Scarica](https://downloads.wordpress.org/plugin/mdi-http-referer-block.1.0.2.zip)

 * [Dettagli](https://it.wordpress.org/plugins/mdi-http-referer-block/#description)
 * [Recensioni](https://it.wordpress.org/plugins/mdi-http-referer-block/#reviews)
 *  [Installazione](https://it.wordpress.org/plugins/mdi-http-referer-block/#installation)
 * [Sviluppo](https://it.wordpress.org/plugins/mdi-http-referer-block/#developers)

 [Supporto](https://wordpress.org/support/plugin/mdi-http-referer-block/)

## Descrizione

Tired of spam form submissions from suspicious referral sources? Want to block or
redirect traffic from specific ad networks that send low-quality leads? Managing
traffic quality shouldn’t require a developer. We made it easy!

Smart Traffic Source Filter gives WordPress site owners complete control over user
experience based on traffic origin. 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 detect where visitors come from and apply different behavior—whether
you need to filter spam, protect forms, redirect unwanted traffic, or optimize conversions
for high-quality sources.

You can define specific referrer domains or patterns, and when a visitor matches
those conditions, the plugin can:

 * Display a small notification (server-side) showing the detected referrer host
   or path.
 * Hide or reveal specific elements on your site using CSS selectors.
 * Redirect visitors from certain sources to a different URL.

This gives marketers, advertisers, and site owners fine control over how different
audiences see the site.

Example use cases:

 * Hide contact forms when users arrive through syndicated search traffic to prevent
   spam or low-quality leads.
 * Hide pricing details when a user comes from social media to encourage engagement
   before pricing exposure.
 * Redirect visitors from affiliate networks to a dedicated landing page.
 * Show a simple banner confirming that the user arrived via a partner campaign.

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/

## Screenshot

 * [[

## Installazione

 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.

## FAQ

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

## Recensioni

Non ci sono recensioni per questo plugin.

## Contributi e sviluppo

“Smart Traffic Source Filter for WordPress” è un software open source. Le persone
che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ Medium Interactive ](https://profiles.wordpress.org/mediuminteractive/)

[Traduci “Smart Traffic Source Filter for WordPress” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/mdi-http-referer-block)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/mdi-http-referer-block/)
segui il [repository SVN](https://plugins.svn.wordpress.org/mdi-http-referer-block/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/mdi-http-referer-block/)
tramite [RSS](https://plugins.trac.wordpress.org/log/mdi-http-referer-block/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial public release.

#### 1.0.1

 * Update assets

#### 1.0.2

 * Update assets

## Meta

 *  Versione **1.0**
 *  Ultimo aggiornamento **5 mesi fa**
 *  Installazioni attive **Meno di 10**
 *  Versione WordPress ** 5.6 o superiore **
 *  Testato fino alla versione **6.9.4**
 *  Lingua
 * [English (US)](https://wordpress.org/plugins/mdi-http-referer-block/)
 * Tag
 * [cookie](https://it.wordpress.org/plugins/tags/cookie/)[hide content](https://it.wordpress.org/plugins/tags/hide-content/)
   [redirect](https://it.wordpress.org/plugins/tags/redirect/)[referer](https://it.wordpress.org/plugins/tags/referer/)
   [referrer](https://it.wordpress.org/plugins/tags/referrer/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/mdi-http-referer-block/advanced/)

## Valutazioni

Non sono state ancora inviate recensioni.

[Your review](https://wordpress.org/support/plugin/mdi-http-referer-block/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/mdi-http-referer-block/reviews/)

## Collaboratori

 *   [ Medium Interactive ](https://profiles.wordpress.org/mediuminteractive/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/mdi-http-referer-block/)