https://github.com/soderlind/wp-denyhost
WP-DenyHost denies a spammer from accessing your WordPress blog
https://github.com/soderlind/wp-denyhost
Last synced: 6 months ago
JSON representation
WP-DenyHost denies a spammer from accessing your WordPress blog
- Host: GitHub
- URL: https://github.com/soderlind/wp-denyhost
- Owner: soderlind
- Created: 2013-02-04T14:56:16.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2022-05-25T21:28:01.000Z (over 3 years ago)
- Last Synced: 2025-08-16T06:58:32.416Z (6 months ago)
- Language: PHP
- Homepage: http://soderlind.no/wp-denyhost/
- Size: 288 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP-DenyHost #
**Contributors:** PerS
**Donate link:** http://soderlind.no/donate/
**Tags:** deny host,spam,akismet,cloudflare
**Requires at least:** 4.4
**Tested up to:** 4.5
**Stable tag:** 1.3.0
WP-DenyHost denies a spammer from accessing your WordPress site. WP-DenyHost can add spammers to the CloudFlare Block list
## Description ##
Based on a users IP address, WP-DenyHost will block a spammer if he already has been tagged as a spammer. Use it together with the Akismet plugin. Akismet tags the spammer, and WP-DenyHost prevents him from accessing you site.
If you have a [CloudFlare](https://www.cloudflare.com) account, the plugin can add spamers to [CloudFlare Block list](https://www.cloudflare.com/threat-control)
## Installation ##
### Manual Installation ###
* Upload the files to wp-content/plugins/wp-denyhost/
* Activate the plugin
### Automatic Installation ###
* On your WordPress blog, open the Dashboard
* Go to Plugins->Install New
* Search for "wp-denyhost"
* Click on install to install WP-DenyHost
### Configuration ###
In Settings -> WP-DenyHost, set the threshold and response. Default threshold is 3, default response is 403 Forbidden.
If you have a [CloudFlare](https://www.cloudflare.com) account, you can enable CloudFlare and spammers will be added to the [CloudFlare Block list](https://www.cloudflare.com/threat-control)
## Screenshots ##
### 1. Option Page ###

### 2. CloudFlare Block list ###

## Changelog ##
### 1.3.0 ###
* Hard-code the text-domain for better compatibility with [GlotPress](https://translate.wordpress.org/projects/wp-plugins/wp-denyhost).
* Update plugin for [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/).
* Tested & found compatible with WP 4.5.
* General housekeeping.
### 1.2.7 ###
* Tested with WordPress 4.3
### 1.2.6 ###
* added new languages/wp-denyhost.po file (note, renamed the language file). removed javascript from plugin (loads faster)
### 1.2.5 ###
* added $wpdb->prepare() to $wpdb->getvar()
### 1.2.4 ###
* replaced wp_print_scripts hook with admin_enqueue_scripts hook
### 1.2.3 ###
* removed PHP 4 "constructor"
### 1.2.2 ###
* bug fix
### 1.2.1 ###
* added ps_wp_denyhost_admin_init, triggered by admin_init hook
### 1.2.0 ###
* Added support for CloudFlare Block list + removed wp deprecated code
### 1.1.3 ###
* Fixed minor bug
### 1.1.2 ###
* Added response 403 Forbidden
### 1.1.1 ###
* Added languages/wp-denyhost.pot
### 1.1.0 ###
* Major rewrite. Added option page
### 1.0.1 ###
* Replaced LIKE (‘%$suspect%’) with = ‘$suspect’ i.e. look for exact match
### 1.0 ###
* initial release