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.
- Upload the plugin directory to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the „Plugins“ screen in WordPress.
- Use the Settings > Discussion > Disallowed Comment Keys screen to configure your blocklist keywords.
- Blocked entries you can see on Blocklist manager page from left sidebar.
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
Translate “Exact Match Disallowed Comment & Contact Forms” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Now comments that include blocklist keywords become „Spam“ instead of „Pending“
- Gravity Forms is integrated
- Add WP 5.5 compatibility.