Smart Traffic Source Filter for WordPress
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/
