Disable Comments By Referer

By Kat Hagan

0+ active installationsVersion 0.1

Ban visitors from certain sites from viewing or adding comments.

Description

This plugin allows you to selectively disable comments for visitors from certain sites (e.g. reddit). If a visitor’s HTTP referer matches one of the hosts you’ve blacklisted, your post will look as if comments have been disabled (neither existing comments nor the new comment form will be shown).

Installation

  1. Unzip all files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit the list of hostnames you wish to block under Settings->Discussion.

FAQ

What happens if a site visitor clicks through to a second page?

They will then be able to see and leave comments. This plugin makes no attempt to track visitors or remember referer information.

Do you know you misspelled “referer”?

Yes. Blame the HTTP specification.

Screenshots

Changelog

0.1

  • Initial version.