Title: Exact Match Disallowed Comment &amp; Contact Forms
Author: Ryan Howard
Published: <strong>September 15, 2020</strong>
Last modified: November 17, 2025

---

Search plugins

![](https://ps.w.org/exact-match-disallowed-comment-contact-forms/assets/banner-
772x250.jpg?rev=2382090)

![](https://ps.w.org/exact-match-disallowed-comment-contact-forms/assets/icon.svg?
rev=2381837)

# Exact Match Disallowed Comment & Contact Forms

 By [Ryan Howard](https://profiles.wordpress.org/ryhowa/)

[Download](https://downloads.wordpress.org/plugin/exact-match-disallowed-comment-contact-forms.1.3.1.zip)

 * [Details](https://wordpress.org/plugins/exact-match-disallowed-comment-contact-forms/#description)
 * [Reviews](https://wordpress.org/plugins/exact-match-disallowed-comment-contact-forms/#reviews)
 *  [Installation](https://wordpress.org/plugins/exact-match-disallowed-comment-contact-forms/#installation)
 * [Development](https://wordpress.org/plugins/exact-match-disallowed-comment-contact-forms/#developers)

 [Support](https://wordpress.org/support/plugin/exact-match-disallowed-comment-contact-forms/)

## Description

Change the default WordPress comment blocklist functionality to exact match and 
save entries marked as spam for review.

The WordPress comment blocklist inside matches keywords, so for example, blocklisting
a word such as “pasta” will automatically delete comments containing “pastaroni”
or “anitpasta” (but not “chef boyardee”).

If you try to use the WordPress comment blocklist for contact form entries, this
can be hugely problematic. The first major issue is falsely identifying comments
as spam so you risk blocking valid contact form entries.

Additionally, there’s no moderation queue built into Formidable Forms, Contact Form
7, or Gravity Forms for entries marked as spam. This plugin fixes those issues.

#### Changing the default WordPress comment blocklist functionality

This plugin changes the default inside match blocklist functionality to exact match
keywords, URLs, and ip addresses. If you add “karaoke” to your blocklist you’ll 
only be blocking “karaoke” and not “karaoke stars.”

#### Retaining Contact Form Entries

The plugin also retains contact form entries marked as spam in your database, so
you can check them from the WordPress admin area.

#### Important Notes / FAQ

 * For default comments in a post after submitting, if blocklisted, the comment 
   will go to Spam status, whereas the default functionality would be to send that
   comment to the trash.
 * We’re currently configured to work with Contact Form 7, Formidable Forms and 
   Gravity Forms.
 * Add keywords you want to block to the WordPress admin area under **Settings >
   Discussion > Disallowed Comment Keys**
 * Upon activation, the plugin will automatically populate three keywords by default
   in the “Disallowed Comment Keys” field in the WP Admin area. This is so you know
   things are working. We leave it to the user to control their specific blocklist
   keywords. If you want a list of we’ll known spam words as a starting point, check
   your preferred search engine for “ultimate comment blocklist” or “WordPress comment
   blocklist.”
 * **CAUTION:** Even though this is a significantly less blunt approach than the
   default WordPress functionality, please be careful. If you add the word “appointment”
   to your blocklist, you will block any form fill with the word “appointment” from
   getting through to your inbox.

#### Support the Plugin

If you love this plugin and want to support it, you can help us by linking to this
page, leaving constructive feedback, or sending a monetary donation [paypal.me/completewebresources](https://paypal.me/completewebresources).

## Screenshots

[⌊Changing the default WordPress comment blocklist functionality⌉⌊Changing the default
WordPress comment blocklist functionality⌉[

Changing the default WordPress comment blocklist functionality

[⌊Retaining Contact Form Entries⌉⌊Retaining Contact Form Entries⌉[

Retaining Contact Form Entries

[⌊Formidable Form⌉⌊Formidable Form⌉[

Formidable Form

## Installation

 1. Upload the plugin directory to the /wp-content/plugins/ directory, or install the
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the “Plugins” screen in WordPress.
 3. Use the **Settings > Discussion > Disallowed Comment Keys** screen to configure
    your blocklist keywords.
 4. Blocked entries you can see on Blocklist manager page from left sidebar.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Exact Match Disallowed Comment & Contact Forms” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Ryan Howard ](https://profiles.wordpress.org/ryhowa/)
 *   [ Complete SEO ](https://profiles.wordpress.org/completewebresources/)

[Translate “Exact Match Disallowed Comment & Contact Forms” into your language.](https://translate.wordpress.org/projects/wp-plugins/exact-match-disallowed-comment-contact-forms)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/exact-match-disallowed-comment-contact-forms/),
check out the [SVN repository](https://plugins.svn.wordpress.org/exact-match-disallowed-comment-contact-forms/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/exact-match-disallowed-comment-contact-forms/)
by [RSS](https://plugins.trac.wordpress.org/log/exact-match-disallowed-comment-contact-forms/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3

 * The “Comment must be manually approved” setting didn’t work, a fix was applied

#### 1.2

 * Now comments that include blocklist keywords become “Spam” instead of “Pending”
 * Gravity Forms is integrated

#### 1.1

 * Add WP 5.5 compatibility.

## Meta

 *  Version **1.3.1**
 *  Last updated **7 months ago**
 *  Active installations **100+**
 *  Tested up to **6.8.5**
 *  PHP version ** 7.0 or higher **
 * Tags
 * [anti-spam](https://wordpress.org/plugins/tags/anti-spam/)[blacklist](https://wordpress.org/plugins/tags/blacklist/)
   [contact form 7](https://wordpress.org/plugins/tags/contact-form-7/)[formidable](https://wordpress.org/plugins/tags/formidable/)
   [gravity forms](https://wordpress.org/plugins/tags/gravity-forms/)
 *  [Advanced View](https://wordpress.org/plugins/exact-match-disallowed-comment-contact-forms/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/exact-match-disallowed-comment-contact-forms/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/exact-match-disallowed-comment-contact-forms/reviews/)

## Contributors

 *   [ Ryan Howard ](https://profiles.wordpress.org/ryhowa/)
 *   [ Complete SEO ](https://profiles.wordpress.org/completewebresources/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/exact-match-disallowed-comment-contact-forms/)