WordPress plugin
Block Referer Spam
Blocks referer/referral spam bots from accessing your site and keeps them out of your analytics.
- Active installs
- 500+
- Rating
- 3.4 / 5
- Version
- 1.2
- Last updated
- Aug 16, 2026
- Tested up to
- WordPress 7.0.9
- Requires
- WP 3.0.2
Health check
Is Block Referer Spam safe to rely on?
Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.
Actively maintained
Last updated on August 16, 2026. Regular updates usually mean bugs and security reports get fixed.
Not yet tested with the latest WordPress
Tested up to WordPress 7.0.9. It often still works, but check on staging first.
Low user ratings
Rated 3.4 out of 5 from 21 ratings on WordPress.org.
Rank tracker
Where Block Referer Spam ranks in WordPress.org search
Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.
| Keyword | Position | Change | Trend | Current #1 |
|---|---|---|---|---|
| analytics spam | ||||
| referer spam | ||||
| referral spam | ||||
| referrer spam | ||||
| spam | ||||
| block referer spam |
Checked against the top 100 WordPress.org search results.
Overview
What Block Referer Spam does
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.
Referrer spam (also known as log spam or referrer
bombing) is a kind of spamdexing (spamming aimed
Description from the author's listing. Read the full listing on WordPress.org
Screenshots
Block Referer Spam in action

FAQ
Block Referer Spam: questions and answers
What is Block Referer Spam?
Block Referer Spam is a WordPress plugin by supersoju. Blocks referer/referral spam bots from accessing your site and keeps them out of your analytics.
Is Block Referer Spam free?
Block Referer Spam is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.
How many websites use Block Referer Spam?
WordPress.org reports 500+ active installations of Block Referer Spam. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.
Is Block Referer Spam still maintained?
Block Referer Spam was last updated on August 16, 2026. The current version is 1.2. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.
What does Block Referer Spam require?
Block Referer Spam requires WordPress 3.0.2 or newer. It has been tested up to WordPress 7.0.9.
Can Codefreex set up or customize Block Referer Spam?
Yes. Codefreex installs, configures and customizes WordPress plugins including Block Referer Spam, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.
Free expert review
Need Block Referer Spam set up, customized or fixed?
Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.