WordPress plugin intelligence profile

Block Referer Spam

Blocks referer/referral spam bots from accessing your site and keeps them out of your analytics.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.0
Current version1.2
WordPress coverageTested up to WordPress 7.0
Minimum stackWP 3.0.2 · PHP —
Directory statusactive
Last directory update16 Aug 20262mo ago
Active installations500Adoption metric — not a quality score
WordPress.org rating3.4 / 5 from 21 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Block Referer Spam version 1.2 as active, updated 2mo ago and tested up to WordPress 7.0.

Overview

About this plugin

Block Referer Spam stops the bots that fake an HTTP_REFERER header to advertise their own site in your traffic logs and analytics. They’re good enough at simulating real visits that they show up in Google Analytics right alongside genuine traffic — this plugin blocks the known offenders before they’re ever logged, and needs no configuration to start working.

Two blocking modes cover different hosting setups:

  • Rewrite mode (Apache only) — adds RewriteCond rules to.htaccess so spam requests are rejected by the web server itself, before WordPress even loads. Fastest option, and the default when your host is detected as Apache.
  • WordPress mode — checks the referer during normal WordPress request handling and returns a 403. Works on any host, including nginx, but can’t intercept a request that’s served entirely from a full-page cache (see the FAQ below) — the plugin will warn you on its settings page if it detects an active caching plugin while running in this mode.

The block list itself is a mix of several public spam-referer sources, merged and refreshed automatically once a day (or on demand from the settings page). You can also add your own domains to block, including internationalized (non-ASCII) domain names — they’re normalized automatically.

From Wikipedia:

Referrer spam (also known as log spam or referrer bombing) is a kind of spamdexing (spamming aimed at search engines). The technique involves making repeated web site requests using a fake referer URL to the site the spammer wishes to advertise. Sites that publish their access logs, including referer statistics, will then inadvertently link back to the spammer's site.

These links will be indexed by search engines as they crawl the access logs.

This benefits the spammer because the free link improves the spammer site's search engine ranking owing to link-counting algorithms that search engines use.

Features

  • Automatic daily updates of the referer spam block list, or trigger an update manually
  • Add your own custom domains to the block list, with automatic IDN/Punycode normalization
  • Two blocking modes to fit Apache or non-Apache hosting: mod_rewrite or WordPress-level
  • Warns you if a caching plugin is likely to interfere with WordPress-mode blocking

Pro

Pro plans start at $2/mo. com for more information.

  • Sync your custom block list across all of your registered sites
  • Access to additional curated block lists

Examples Blocked

  • semalt
  • buttons-for-website
  • floating-share-buttons
  • 4webmaster
  • ilovevitaly
  • … and many more!

Found a bug, or want to contribute? com

Cover photo by Lukas Budimaier

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • analytics spam
  • referer spam
  • referral spam
  • referrer spam
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 7.0

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 3.0.2 · PHP not listed
Update activity16 Aug 20262mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.