Combatting Comment Spam like a Pro: Explore WPDiscuz's Anti-Spam Capabilities

WPDiscuz plugin

WordPress already comes with a built-in comment system. It does not have many features except basic commenting. And this is enough for many of us. However, if you’d like to have more features like Comment Rating, Social Commenting, Comment Stats, and Multi Layout then WPDiscuz is your solution. It is a free plugin and pack with features.

In this article, we are going to focus on how to use different spam protection options to protect your WPDiscuz comment system. WPDiscuz supports reCaptcha and WordPress’s native Comment Moderation as a way to stop spam. There are also third-party plugins that support WPDiscuz.


WPDiscuz comes with reCaptcha v2 support. As you may already know reCaptcha has a couple of versions:

It is important to point out that WPDiscuz doesn’t support an invisible version of reCaptcha out of the box. So, you visitors have to solve the “I’m not a robot” challenge to post. If you would like to use invisible then you need to buy reCaptcha Addon.

WPDiscuz reCaptcha

To activate reCaptcha in your comment section, you need to get Site Key and Secret Key for it.

Here is how to get reCaptcha keys:

  1. Go to the reCaptcha website and click on the “v3 Admin Console” button located on the top right corner of the page.
  2. Sign in to your Google account if you haven’t already done so.
  3. On the Admin Console page, click on the “Add” button to register a new site.
  4. Fill in the required fields, such as your website domain name and reCaptcha type (v2 or v3).
  5. After you’ve filled in the required fields, click on the “Submit” button to register your site. reCaptcha adding website
  6. You’ll be taken to a page with your site key and secret key. These are the keys you’ll need to integrate reCaptcha into your website. reCaptcha generates Site keys

Once you have both keys, on your WP dashboard navigate to wpDiscuz > Settings > reCAPTCHA and enter both keys.

Should I set up reCaptcha v2 or v3?

v3 came after many people complained about accessibility and usability issues with v2. v2 asks visitors to solve a challenge before submitting a form. To address this issue, Google removed the “challenge” part of reCaptcha. As a result, with v3, users don’t solve any challenges. Instead, it tracks the user’s behavior on your website and scores the user from 0 (bot) to 1 (human). It is up to the website owner to determine the threshold.

Many people are happy with reCaptcha. It is effective against simple bots, however, advanced bots can bypass reCaptcha. There are also “captcha farms” where people get paid to solve reCaptcha. It may also slow down your website as it loads extra js files into your website.

If you’re looking for a free and easy solution, reCaptcha may be the answer. If you decided to go with reCaptcha, consider using the invisible version via an addon for better user experience.


Unlike reCaptcha, hCaptcha is not built into WPDiscuz. However, you can use the official hCaptcha WordPress plugin which supports WPDiscuz. hCaptcha and reCaptcha work similarly and suffer from the same limitations. hCaptcha integration comes with two types: Visible and Invisible. The most notable difference between reCaptcha and hCaptcha is privacy. hCaptcha is considered a privacy-friendly alternative to reCaptcha. Setting up hCaptcha is also very similar to hCaptcha. Once the hCaptcha plugin is installed, navigate to hCaptcha -> Integration and enter your Site Key and Secret Key.

To obtain hCaptcha Site Key and Secret Key, follow these step-by-step instructions:

  1. Visit the hCaptcha website: Go to the official hCaptcha website.
  2. Sign up for an account: Click on the “Sign Up” button and provide the required information to create a new account.
  3. Create a new site: Once you’re logged in, navigate to the “Sites” section or dashboard.
  4. Register a new site: Click on the “Register a new site” button or a similar option to register a new website.
  5. Provide website details: Fill in the necessary information for your website, such as the website name, domain, and any other required fields.
  6. Select hCaptcha type: Choose the type of hCaptcha you want to use. You can select between the “Checkbox” or “Invisible” options depending on your preference.
  7. Get Site Key and Secret Key: After completing the registration process, hCaptcha will generate a unique Site Key and Secret Key for your website.
  8. Copy the keys: Copy the generated Site Key and Secret Key and keep them in a secure location.

WPDiscuz hCaptcha

If you are getting spammed and you already tried other options, it’s a good practice to try hCaptcha as well. It’s free and easy to set up. In some cases, however, the switch from reCaptcha to hCaptcha doesn’t change much as spammers can bypass captcha solutions nowadays.

Using WordPress’s Comment Moderation

WPDiscuz did a great job by incorporating WordPress’s already available comment moderation into their forms. I’m talking about a feature that comes with every WordPress and is accessible under WordPress Settings -> Discussion page -> Disallowed Comment Keys. This is a quick way to block a surge of spam by adding URLs, IPs or any spam words (per line) into this field. WPDiscuz then will check every submission against this list and block if matched.

WordPress Comment Moderation

OOPSpam WordPress plugin

Our WordPress plugin is another way to stop spam on your WPDiscuz comments. The plugin works with OOPSpam API that protects over 1.5M websites daily. While the other alternatives above are free, OOPSPam API is a paid service. But it does come with free 40/month spam checks for you to test and see the difference.

Likely, you have already tried the above options, and they didn’t work for you. It could be a slow website from reCaptcha or hCaptcha or overwhelming spam you are still getting despite implementing the above alternatives. What makes OOPSpam different from other solutions is that it doesn’t slow your website and is effective against human spammers and bots. There is no challenge to solve. No performance penalty as everything happens in your server instead of client-side. The OOPSpam API uses machine learning models, content analyses, IP & email reputation, and other rule-based checks to score every contact form submission. A combination of all these analyses returns a single spam score which is how it accurately stops both manual spam and bots.

On the plugin’s settings page, you could also adjust how sensitive you want your spam filter to be. Even keeping the default Sensitivity level setting will help you cut down spam to zero.

OOPSpam WordPress Plugin Sensitivity level

In addition, the plugin allows you to set up a filter to accept submissions only from certain countries and languages.

OOPSpam WordPress Plugin country & language restrictions

✨ Since then, we have also added the Block messages from these countries feature.

OOPSpam WordPress Plugin block countries

Unlike other premium solutions, OOPSpam is privacy-friendly. We don’t store or share your data. All cloud-based spam filtering services in the market require you to send visitors IP addresses which violates GDPR. With OOPSpam, you don’t have to.

Here are a few steps to activate spam protection for WPDiscuz:

  1. Subscribe to get an API key then copy-paste the API key to the plugin’s appropriate field under Settings->OOPSpam Anti-Spam on your WordPress Admin Dashboard.

ℹ️ Make sure to select OOPSpam Dashboard on the setting page

  1. If you have WPDiscuz installed then a special section will appear on the OOPSpam Anti-Spam plugin’s settings page.

    OOPSpam Anti-Spam WordPress Plugin Settings

  2. On this page, you need to activate the spam filtering for WPDiscuz by checking the Activate Spam Protection checkbox. You don’t have to do anything on your form. Once you activate spam protection on the OOPSpam plugin settings, you are good to go.

  3. Don’t forget to enter a short message to display when a spam form entry is submitted. Your message will appear at the bottom of the message field.

OOPSpam detected spam on WPDiscuz

Final thoughts

All websites eventually get hit by spammers. As a website grows and gets more traffic it attracts more serious spammers with advance bots. Both honeypot and reCaptcha/hCaptcha will protect your website to a certain degree but they are not enough for targeted spam attacks, manual spam and sophisticated bots. I hope this article helps you find a solution for your spam problem.

That is all! Go on and create your forms.

Happy spam-free day!

A cocktail of unique measurements means cutting edge spam protection.

Since our launch in 2017 we’ve been perfecting our API to be the trusted option for small businesses to enterprise— and continue to stick to our values of being the accessibility and privacy-friendly option. Give us a shot!

Try OOPSpam for free → Try our WordPress plugin for free →

✓ No credit card required ✓ Cancel anytime

Enjoy Reading This Article?

Here are some more articles you might like to read next: