Change the number of links allowed in a WordPress comment
Spam comments often contain numerous links that drive traffic towards suspicious sites. To reduce the amount of spam comments on your WordPress site, you can adjust the number of links a comment can contain before it requires moderation.
- Sign in to WordPress.
- On the left-side menu, select Settings > Discussion.
- Scroll down to the Comment Moderation section and, in the first line of this section, change the number according to your preference. Any comments containing that number of links or more will automatically require approval.
- Scroll to the bottom of the page and select Save Changes.
- If you want to be notified whenever you need to approve or delete a comment, on the left-side menu, select Settings > Discussion and, in the Email me whenever section, select the box next to A comment is held for moderation and then Save changes.