
內容簡介
Block Referer Spam 外掛可以有效阻擋偽造 HTTP_REFERER 標頭的機器人,避免它們在您的流量日誌和分析中廣告自己的網站。此外掛無需配置即可立即運作,並提供兩種阻擋模式以適應不同的主機環境。
【主要功能】
• 自動每日更新阻擋名單
• 支援自訂域名的添加與正規化
• 提供 Apache 和非 Apache 的兩種阻擋模式
• 在 WordPress 模式下檢查 referer 並返回 403
• 提醒使用者可能干擾的快取外掛
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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. Visit BlockReferSpam.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? Get in touch — support / supersoju.com
Cover photo by Lukas Budimaier
