Title: WP Block Referrer Spam
Author: Roger Rodrigo
Published: <strong>July 11, 2015</strong>
Last modified: July 20, 2015

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-block-referrer-spam.svg)

# WP Block Referrer Spam

 By [Roger Rodrigo](https://profiles.wordpress.org/barragan/)

[Download](https://downloads.wordpress.org/plugin/wp-block-referrer-spam.1.4.zip)

 * [Details](https://wordpress.org/plugins/wp-block-referrer-spam/#description)
 * [Reviews](https://wordpress.org/plugins/wp-block-referrer-spam/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-block-referrer-spam/#installation)
 * [Development](https://wordpress.org/plugins/wp-block-referrer-spam/#developers)

 [Support](https://wordpress.org/support/plugin/wp-block-referrer-spam/)

## Description

Keep your WordPress site safe and away from **referrer spam attacks**!

**Not compatible with multisite yet**

This plugin blocks spam sites and referrer spammers from reaching your website, 
keeping your Google Analytics statistics clean and accurate. It also improves the
overall performance of your site by keeping away these unwanted referrers from your
website, which means that your web server won’t need to consume resources when a
referrer spammer visits your site!

#### Why you should use this plugin?

It is very common to be attacked by **referrer spammers**. Referrer spam consists
in 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 referrer 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.

This is not really harmful for your site or your site’s search engine ranking. But
it is very annoying when you try to analize your Google Analytics statistics due
to big amounts of visits coming from referrer spammers.

#### How can I check if my site is being attacked by referrer spammers?

It is very easy to check if your site is being attacked by referrer spamers. And
I bet you that more than likely your site has some suscpicious visits that could
be banned using this plugin.

 1. Open your Google Analytics account
 2. Select the statistics of the site that you want to check
 3. Expand `Acquisition` menu
 4. Expand `All Traffic` menu
 5. Go to `Referrals` menu
 6. Underneath the graphic you will see the list of referred traffic
 7. If you see weird domains like **trafficmonetize.org**, **webmonetizer.net** or **
    buttons-for-website.com** it means that your site is suffering **referrer spam 
    attacks**

#### Compatibility:

This plugin is fully compatible with any webserver by default.
 Its adaptability
ensures that will work with any version of either apache, nginx, iis or lighttpd
webserver.

 * When apache is used, the plugin adds specific rules into .htaccess file.
 * When apache is not used, the plugin automatically recognizes it and uses internal
   code rules to keep away spammers.

**Not compatible with multisite yet**

Requires at least WordPress 3.2 and PHP 5.3

#### The most updated Referrer Spam List:

Every week, this plugin updates the list of referrer spammers from [this community-contributed list](https://github.com/piwik/referrer-spam-blacklist)
of [referrer spammers](http://en.wikipedia.org/wiki/Referer_spam).

Please show your support for this plugin by giving it a [rating](https://wordpress.org/support/view/plugin-reviews/wp-block-referrer-spam?rate=5?rate=5#postform)

**Development is on GitHub: https://github.com/rrodrigonuez/WP-Block-Referrer-Spam**

Pull requests are more than welcome!

## Screenshots

[⌊The plugin's settings section, found under Tools > Block Referrer Spam.⌉⌊The plugin's
settings section, found under Tools > Block Referrer Spam.⌉[

The plugin’s settings section, found under **Tools > Block Referrer Spam**.

[⌊Example of referrer spammers in Google Analytics.⌉⌊Example of referrer spammers
in Google Analytics.⌉[

Example of **referrer spammers** in Google Analytics.

## Installation

#### From your WordPress dashboard:

 1. Go to the `Plugins > Add New`
 2. Search For `WP Block Referral Spam`
 3. Install it
 4. Activate `WP Block Referral Spam` plugin through the `Plugins` page in your WordPress
    site
 5. The plugin will update the referrer list automatically every 7 days

#### Uploading it in WordPress Dashboard:

 1. Download `WP Block Referral Spam` plugin
 2. Go to the `Plugins > Add New`
 3. Click `Upload`
 4. Select `wp-block-referrer-spam.zip` file from your computer
 5. Click `Install Now`
 6. Activate `WP Block Referral Spam` plugin through the `Plugins` page in your WordPress
    site
 7. The plugin will update the referrer list automatically every 7 days

#### From WordPress.org using FTP:

 1. Download `WP Block Referral Spam` plugin
 2. Unzip `wp-block-referrer-spam.zip` file
 3. Upload `wp-block-referrer-spam` directory to your `/wp-content/plugins/` directory,
    using your favorite method (ftp, sftp, scp, etc…)
 4. Activate `WP Block Referral Spam` through the `Plugins` page in your WordPress 
    site
 5. The plugin will update the referrer list automatically every 7 days

## FAQ

  Where do I change the plugin’s settings?

Navigate to **Tools > Block Referrer Spam** in your WordPress Dashboard, and look
for the **Settings** section.

  Can I add my own list of referrer spammers?

Yes! This plugin not only protects you against over 200 referrer spammers, but it
also allows you to add your own referrer spammers.
 To do so, go to the plugin’s
setting page (**Tools > Block Referrer Spam**) and add your spammers in the text
box.

  Is this plugin compatible with my webserver?

This plugin is fully compatible with any webserver out-of-the-box.
 Its adaptability
ensures that will work with any version of either apache, nginx, iis or lighttpd
webserver.

 * When apache is used, the plugin adds specific rules into .htaccess file.
 * When apache is not used, the plugin automatically recognizes it and uses internal
   code rules to keep away spammers.

  How often does the Referrer Spam List get updated?

The Referrer Spam List is updated automatically every 7 days.
 It loads the values
from a community-contributed list of [referrer spammers](http://en.wikipedia.org/wiki/Referer_spam),
you can see the source [here](https://github.com/piwik/referrer-spam-blacklist).

  How secure is this plugin?

This plugin has been developed with one thing in mind: to keep your WordPress site
as **secure** as possible, **ad free**, **spam free** and with the maximum **performance**
reachable.
 The developers that contribute to build this plugin are 100% **reliable**
and some of the **most experienced WordPress developers**.

## Reviews

![](https://secure.gravatar.com/avatar/9fbae5472888c600f94bdc91d118480d11f6fafa7a14a56fc62ca1b931aa4bcc?
s=60&d=retro&r=g)

### 󠀁[A specific plugin](https://wordpress.org/support/topic/a-specific-plugin/)󠁿

 [mihailfirst](https://profiles.wordpress.org/mihailfirst/) September 3, 2016 1 
reply

Do not block the site I want. Only the proposed spam sites.

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/)

## Contributors & Developers

“WP Block Referrer Spam” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Roger Rodrigo ](https://profiles.wordpress.org/barragan/)

“WP Block Referrer Spam” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-block-referrer-spam/contributors)
for their contributions.

[Translate “WP Block Referrer Spam” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-block-referrer-spam)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-block-referrer-spam/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-block-referrer-spam/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-block-referrer-spam/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-block-referrer-spam/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4

 * Fixed warnings that appear when BuddyPress is installed and active
 * Referrer detection improvements
 * Speed improvements

#### 1.3

 * Fixed issues with cronjob

#### 1.2

 * Close .htaccess file after removing markers

#### 1.1

 * Renamed internal functions to ensure compatilibity

#### 1.0

 * Initial public release

## Meta

 *  Version **1.4**
 *  Last updated **11 years ago**
 *  Active installations **60+**
 *  WordPress version ** 3.2 or higher **
 *  Tested up to **4.2.39**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/wp-block-referrer-spam/) and [German](https://de.wordpress.org/plugins/wp-block-referrer-spam/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-block-referrer-spam)
 * Tags
 * [analytics](https://wordpress.org/plugins/tags/analytics/)[analytics spam](https://wordpress.org/plugins/tags/analytics-spam/)
 *  [Advanced View](https://wordpress.org/plugins/wp-block-referrer-spam/advanced/)

## Ratings

 2.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-block-referrer-spam/reviews/)

## Contributors

 *   [ Roger Rodrigo ](https://profiles.wordpress.org/barragan/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-block-referrer-spam/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UGD72JQRCVQM8)