Fighting SPAM with .htaccess
Keeping the spammers at bay with a hardened .htaccess should be your first line of defense with any web site.
So let’s get started!
Everyone likes comments, but no-one wants comment spam. The simple snippet below will restrict access to the page that is responsible for submitting comments unless the submission originates from your web site:
Not all domains are created equally. Some domains just seem to have more referrer spammers than others. The next snippet blocks some top level domains (TLDs) from being a referrer and points them right back to where they came from.
These rules would block sites like:
This is a work in progress, stay tuned for more or check in here: http://forums.b2evolution.net/topic-3764
Created by • Last edit by on Oct 08, 2015