How To Stop Spam Comments On WordPress
These comments can make a website look unprofessional and create additional work for administrators who have to review and delete them regularly. They may also expose visitors to suspicious links if inappropriate comments are published without moderation.
WordPress provides built-in discussion settings that allow website owners to control how visitors submit comments, manage pending comments and block unwanted messages. You can also use anti-spam plugins to improve comment protection.
In this guide, you will learn how to stop spam comments on WordPress using the available settings, comment moderation tools and anti-spam plugins.
1. Enable Comment Moderation in WordPress
One of the easiest ways to control spam comments is to enable comment moderation. This allows you to review comments before they appear publicly on your website.
When moderation is enabled, new comments can remain pending until an administrator approves them. This prevents suspicious messages from appearing immediately.
Follow these steps:
- Log in to your WordPress dashboard.
- Navigate to Settings.
- Select Discussion.
- Find the Before a comment appears section.
- Enable Comment must be manually approved.
- Scroll down and click Save Changes.
Once enabled, comments submitted by visitors will require approval before publication.
This setting is particularly useful for websites that receive frequent spam comments. However, you will need to review legitimate comments manually before they appear.
2. Require Visitors to Provide Their Names and Email Addresses
Another way to reduce unwanted comments is to require visitors to enter their names and email addresses before submitting comments.
This adds a basic requirement to the commenting process and can discourage some unwanted submissions.
To enable this option:
- Open your WordPress dashboard.
- Go to Settings.
- Select Discussion.
- Find the Other comment settings section.
- Enable Comment author must fill out name and email.
- Click Save Changes.
Visitors will now have to provide the required information before submitting comments.
However, this setting does not completely prevent spam because automated bots can also submit names and email addresses.
3. Hold Comments Containing Links for Moderation
Spam comments frequently contain links directing visitors to external websites. Some may promote unrelated products, suspicious services or potentially harmful websites.
WordPress allows you to automatically hold comments containing a specified number of links for moderation.
Follow these steps:
- Open your WordPress dashboard.
- Navigate to Settings and select Discussion.
- Find the Comment Moderation section.
- Locate the option for holding comments that contain a specified number of links.
- Enter the number of links that should trigger moderation.
- Click Save Changes.
For example, entering 1 means comments containing one or more links will be held for review.
You can adjust this setting based on the type of comments your website receives.
4. Add Suspicious Words to the Disallowed Comment Keys List
WordPress also provides a feature for blocking comments containing specific words, phrases, email addresses, URLs or IP addresses.
This feature is useful when you repeatedly receive spam comments containing similar promotional terms or suspicious expressions.
To configure it:
- Log in to your WordPress dashboard.
- Go to Settings.
- Select Discussion.
- Scroll down to the Disallowed Comment Keys section.
- Enter the words, phrases, email addresses or other identifying details you want WordPress to block.
- Put each entry on a separate line.
- Click Save Changes.
When a comment contains any of the specified entries, WordPress will move it to the Trash instead of publishing it.
Be careful when adding words to this list because legitimate comments containing those words may also be blocked.
5. Install an Anti-Spam Plugin
If your WordPress website receives a large number of spam comments, installing an anti-spam plugin can provide additional protection.
These plugins help identify and filter unwanted comments automatically, reducing the amount of manual moderation required.
Some popular options include:
Akismet Anti-spam
Akismet checks submitted comments against its spam detection service to identify unwanted messages. It can automatically filter comments and help keep spam out of your website's discussion section.
Antispam Bee
Antispam Bee helps protect WordPress websites against comment spam. It provides several filtering options and does not require users to create an account with an external service.
CleanTalk Anti-Spam
CleanTalk provides automated spam protection for WordPress comments and other website forms. It helps filter unwanted submissions without requiring visitors to complete traditional CAPTCHA challenges.
To install an anti-spam plugin:
- Open your WordPress dashboard.
- Navigate to Plugins.
- Select Add New Plugin.
- Search for your preferred anti-spam plugin.
- Click Install Now.
- Select Activate after installation.
- Complete any additional configuration required by the plugin.
Some plugins require an account, subscription or API key before their spam protection features can work. Check the plugin's setup requirements after activation.
6. Disable Comments on Posts That Do Not Need Them
If your website does not need comments on certain articles or pages, you can disable the commenting feature for those individual posts.
This prevents visitors from submitting new comments on the selected content.
Follow these steps:
- Open your WordPress dashboard.
- Navigate to Posts or Pages.
- Select the content you want to edit.
- Find the discussion settings in the editor.
- Disable the Allow comments option.
- Update the post or page.
You can also disable comments on future posts through Settings > Discussion by turning off the option that allows people to submit comments on new posts.
Disabling comments is useful for websites that do not use their comment sections for discussions or reader feedback.
7. Regularly Review and Clean Up Spam Comments
Even with moderation settings and anti-spam plugins enabled, some unwanted comments may still reach your WordPress dashboard.
Regularly reviewing your comments helps you identify and remove messages that have been incorrectly filtered or missed by your spam protection tools.
To manage these comments:
- Log in to your WordPress dashboard.
- Navigate to Comments.
- Select the Spam tab to view filtered comments.
- Review the messages to identify unwanted submissions.
- Select Delete Permanently to remove spam comments.
- Check the Pending section for comments awaiting approval.
You should also check the spam folder occasionally to ensure legitimate comments have not been incorrectly classified.
Frequently Asked Questions
1. Why does my WordPress website receive spam comments?
Spam comments are often submitted by automated bots or people promoting websites, products and unrelated services.
2. Can I stop spam comments without installing a plugin?
Yes. You can use WordPress discussion settings to enable comment moderation, block specific words and control which comments appear on your website.
3. Do anti-spam plugins automatically delete all spam comments?
No. Anti-spam plugins help identify and filter unwanted comments, but some spam may still require manual review.
4. Can I disable comments on individual WordPress posts?
Yes. Open the post in the WordPress editor, disable the Allow comments option in its discussion settings and update the post.

Kindly Join our Telegram channel & active group chats to get quicker access to the latest tech news, mobile tips, free airtime codes and free browsing cheats
Telegram Channel: Subscribe Here
WhatsApp Channel: Follow Here
Whatsapp Group: Join Here
Telegram Group: Join Here
We are now on Mi Community for those that uses Xiaomi devices. Follow us now.
Mi Community: Click Here
Follow us on Instagram
Instagram: Join Here
Subscribe to Watch our Tech Tutorial Videos on YouTube.
YouTube: Subscribe Here
Make Sure you tick the "Notify me" box, so that you get notified when the admin responds to your comments or questions.
EmoticonEmoticon