WordPress Help

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.

  1. Sign in to WordPress.
  2. On the left-side menu, select Settings > Discussion.
  3. 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.
  4. Scroll to the bottom of the page and select Save Changes.

Related steps

  • 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.

More info