Spam comments can be a huge nuisance on a WordPress website, but there are several ways to reduce or completely stop them. Here are some effective methods:
1. Use an Anti-Spam Plugin
The easiest way to block spam is by using a plugin. Some popular options include:
- Akismet Anti-Spam – Comes pre-installed with WordPress; filters out most spam.
- Antispam Bee – Free and effective, no third-party services needed.
- WPBruiser – Blocks spam bots without requiring a CAPTCHA.
2. Enable Comment Moderation
Go to Settings > Discussion and adjust the following:
- Check "Comment must be manually approved" to review comments before they go live.
- Enable "Comment author must have a previously approved comment" to allow trusted commenters.
3. Use CAPTCHA or reCAPTCHA
Adding a CAPTCHA (Google reCAPTCHA) to your comment form can help block automated bots. You can use plugins like:
- Google reCAPTCHA
- WPForms (includes reCAPTCHA for comments)
4. Disable Anonymous Comments
Require users to log in before commenting. In Settings > Discussion, enable "Users must be registered and logged in to comment."
5. Use Honeypot Protection
Honeypot fields trick bots into revealing themselves. Plugins like Antispam Bee or WPBruiser provide this feature.
6. Limit Links in Comments
Spam comments often contain links. In Settings > Discussion, set "Hold a comment in the queue if it contains X or more links" (setting this to 1 helps).
7. Block Certain Words & IPs
In Settings > Discussion, use the Comment Blacklist to block comments with spammy words or phrases. You can also block specific IP addresses.
8. Disable Comments on Older Posts
Go to Settings > Discussion and enable "Automatically close comments on articles older than X days." This prevents spammers from targeting old posts.
9. Turn Off Comments Completely
If you don’t need comments, disable them entirely by going to Settings > Discussion > Uncheck "Allow people to post comments on new articles" or use the Disable Comments plugin.
By combining these methods, you can significantly reduce or eliminate spam comments on your WordPress website.
