Google Code To Fight Spam On Your WordPress Or BuddyPress Install

07.07.10 by Jerome in Tutorials

Google Code To Fight Spam On Your WordPress Or BuddyPress Install

Spam has always been a problem for bloggers. Yesterday I found a new script by Google to help you fight spammers. The script is called Stop Spam Referer PHP Script.  It’s very light weight and extremely easy to install (it took me 2 minutes to install).
Has anyone have been using this script? Are you happy with it? Please give any feedback in the comments section.

Step 1

Download the Stop Spam Referer PHP Script and upload it to the referer folder into the root of your website.

Step 2

Copy and paste the code below into your wp-load.php and upload it live.

/** Define BAD_REFERER */
define ( 'BAD_REFERER_ACTIVE', true);
if ( is_file( @dirname(__FILE__).'/referer/bad_referer.php') ) if (is_file (@ dirname (__FILE__). '/referer/bad_referer.php'))
include_once( @dirname(__FILE__).'/referer/bad_referer.php') ; include_once (@ dirname (__FILE__). '/referer/bad_referer.php');

Here some of the features:

  • Stops bad referers ( domains list )
  • Stops domains by keywords
  • Bandwidth safe
  • Spam protect for your website
  • Referers custom Black List
  • Referers custom White List
  • Keywords White List
  • IP block custom
  • Light and fast PHP script (3.8 ko)
  • No reduce performances
  • No database required
  • Secure PHP script
  • Open Source PHP Script
  • You can rename folder of SSR
  • No .htacess file (low machine resources)
  • 1787 domain names in blacklist ( and all sub domains )
  • 96 keywords in blacklist ( for thousand domain names )

Related posts:

google, php, script, spam

Get More Wordpress Tips & Tricks

Liked this post? subscribe to our email updates or RSS feed!

View Comments to “Google Code To Fight Spam On Your WordPress Or BuddyPress Install”

  1. Lane Lester

    07. Jul, 2010

    I googled another blog that recommended this script, so I'm going to start using it… until someone says it's a horrible mistake. :-)

    I've quit using Akismet due to its deleting of innocent comments. So I'm beefing up other anti-spam measures.

    Thanks for the tip.

Leave a Reply

Want your picture in comment? Go to gravatar.com & upload your preferred avatar for free.

blog comments powered by Disqus