Linux 软件免费装
Banner图

Block Referer Spam

开发者 supersoju
codestic
更新时间 2026年8月17日 01:51
PHP版本: 3.0.2 及以上
WordPress版本: 7.0.3
版权: GPLv2 or later
版权网址: 版权信息

标签

spam security anti-spam analytics spam referral spam spambot bot block semalt referer spam referrer spam

下载

1.1.8.1 1.1.8.2 1.1.8.3 1.1.8.4 1.1.9.1 1.1.9.3 1.1.9.4 1.1.9.5 1.2 1.0.2 1.0.4 1.1 1.1.2 1.1.5 1.1.8.5 1.1.9 1.1.9.2 1.0.3 1.1.3 1.1.4 1.1.6 1.1.7 1.1.8

详情介绍:

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: 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 Pro Pro plans start at $2/mo. Visit BlockReferSpam.com for more information. Examples Blocked Found a bug, or want to contribute? Get in touch — support / supersoju.com Cover photo by Lukas Budimaier

安装:

  1. Install Block Referer Spam automatically, or upload the plugin ZIP file.
  2. Activate the plugin through the "Plugins" menu in WordPress.
  3. Go to the "Referer Spam" admin menu to review your blocking mode and options — the defaults work for most sites without any changes.
Using WP-CLI wp plugin install block-referer-spam --activate

常见问题:

What sites are blocked?

This plugin merges several public referer-spam block lists rather than relying on just one, refreshed automatically once a day, to keep coverage broad.

I still see those websites in my Google Analytics history!

Block Referer Spam prevents new spam hits from being logged — it doesn't retroactively clean up analytics data you already have. To filter out existing spam entries in Google Analytics, see this tutorial.

I tested my site and a known spam referer can still get through!

A few common causes:

  1. The site isn't on the block list yet. The list refreshes once a day, so very new spam domains may take a little while to be added. In the meantime, add it as a custom block yourself.
  2. A caching plugin is serving the request from cache. In WordPress blocking mode, a full-page cache (e.g. WP Rocket, W3 Total Cache, WP Super Cache, LiteSpeed Cache) can serve a cached page before WordPress — and this plugin — ever runs. Switch to Rewrite mode (Apache only) if you're using a caching plugin, since it blocks at the web-server level before caching applies.
  3. Your host doesn't support Rewrite mode. If .htaccess isn't writable, or you're not on Apache, use WordPress mode instead.

Does this work with caching plugins?

Rewrite mode does, since it blocks before caching applies. WordPress mode can be bypassed by full-page caching — the plugin detects common caching plugins and shows a warning on its settings page if you're running WordPress mode alongside one, so you can switch to Rewrite mode if your host supports it.

I found a bug!

Please report it — we aim to fix reported issues quickly.

更新日志:

1.2 1.1.9.3 1.1.9.1 1.1.9 1.1.8.5 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1 1.0.4 1.0.3 1.0.2 1.0.1 1.0