Forget Spam Comment


The fastest and GDPR compliant Anti-Spam plugin to prevent bot spam in the Default Commenting System of WordPress.


  • Please clear page cache after plugin activation.
  • Only for default commenting system. Not for AMP.


  • 100% GDPR Compliant.
  • Captcha-Free solution.
  • Requires no settings.
  • Automatic. No need of false-positive comment moderation.
  • Compatible with all page caching and performance optimization plugins.
  • Fastest ever. A tiny inline JavaScript in just ~200 bytes does all magic.

Hur fungerar det?

To prevent spam comments plugin blocks the default action path (wp-comments-post.php) for bots and make it accessible over unique hash query string when a visitor scroll to leave a comment. This way it prevents automated spam comment done by bots.

Video Demonstration

Watch on YouTube

Let’s support each other 🙏

  • Please Upvote Forget Spam Comment plugin at Product Hunt
  • You can contact me to report any issues. I’d be happy to assist.


To install this plugin from WordPress Dashboard

  1. Go to Plugins menu > Add new
  2. Search for Forget Spam Comment
  3. Activate the plugin through the ’Plugins’ menu in WordPress
  4. If you are using any page cache plugin, make sure to purge/clear the cache.

To install this plugin manually

  1. Download the Forget Spam Comment Plugin
  2. Upload Forget Spam Comment to the /wp-content/plugins/ directory
  3. Activate the plugin through the ’Plugins’ menu in WordPress
  4. If you are using any page cache plugin, make sure to purge/clear the cache.

Vanliga frågor

How to test whether this plugin is working or not?

Go to any post where comment is enabled and try to post a comment. If comment is posted successfully means everything is working fine. If you see error 400, you just have forgot to clear page cache after plugin activation. If you are still unable to post a comment and page just reload to itself means your theme uses a different comment form ID that has not been included by this plugin. Please create a support topic with your site URL. I will take care of it.

Which commenting system is supported by this plugin?

Only Default Commenting System of WordPress. Any other commenting system like AMP, Disqus, JetPack Comment, wpDiscuz are not supported.

How to get technical assistance for this plugin?

Kindly allow me a chance to look into your problem by opening a support topic. I will reply in 24 hours.


9 maj 2024 1 svar
This is the best ultra-simple (and free) way to stop comment spam, thanks to the method it uses. Alternative effective solutions are more complicated and involve webserver configuration or WAF and CAPTCHA services. Other plugins simply fail to address the root cause of comment spam. This is the one to use.
19 november 2023 3 svar
This plugin returns an email warning from Wordpress as not being secure and blocks access to login page. It produces a fatal error. I’ve edited this review to reflect the support provided and may look into this plugin again in the future if needed to test again.
28 augusti 2023 1 svar
Simple and effective solution against comment spam. Gone from 3 spams a day to zero immediately after installing it.
24 maj 2023 1 svar
In Drupal world, Antibot is the module that does the same thing that Gulshan has done in this plugin for WordPress and I must say that this plugin works like a charm! Again, no fuss plugin, set it and forget it and that’s why it completely deserves all the 5 stars that it can get. Great stuff Gulshan.
28 augusti 2023 1 svar
Update after using it for over a year on 10+ websites: The BEST WP Spam blocker out there. I’m surprised it’s not installed on EVERY WP site or included by WP as a standard feature. I’ve tested various anti-spam plugins on tens of websites for my clients, none work as well as this one. Thanks Gulshan!
Läs alla 45 betyg

Bidragsgivare och utvecklare

”Forget Spam Comment” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Forget Spam Comment” har översatts till 7 språk. Tack till översättarna för deras bidrag.

Översätt ”Forget Spam Comment” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.



  • Hotfix for Bedrock Compatibility. Updated on 30-Jan-2024.


  • Enhanced Bedrock Compatibility. Updated on 24-Jan-2024.


  • Added a fallback to cover unexpected cases. Updated on 20-Nov-2023.


  • Enhanced uniqueness in query string parameters. Updated on 19-Nov-2023.
  • Kindly clear your page cache after updating to version 1.1.3.


  • Tested with WordPress 6.4.1 and PHP 8.2.12
  • Addressed referral handling for increased precision
  • Improved code readability and consistency following WordPress coding standards


  • Tested with WordPress 6.2 and PHP 8.2.4


  • Tested with WordPress 6.1.1 and PHP 8.2.3
  • Updated links


  • Tested with WordPress 6.0


  • Tested with WordPress 5.9.1 and PHP 8.1.3


  • Tested with WordPress 5.8
  • Enhanced compatibility


  • Tested plugin up to 5.7


  • Added hint for purging cache in the generated error page to assist first time plugin user.


  • Minor tweaks


  • Minified inline JS for better performance
  • Translation made available for Hindi, Bengali, English (United States), English (UK).
  • Minor tweaks


  • Added hint for purging cache upon plugin activation
  • Added support links


  • Performance optimization


  • Initial release