Home » Categories » Managed WordPress » Content and Settings

Setup a comment blacklist in WordPress

You can setup a comment blacklist in WordPress, which will automatically delete any comments that contain keywords, names, URLs, email address or IP addresses that you specify. This is an effective way to help prevent comment spam.

  1. Log in to WordPress.
  2. Go to Settings > Discussion
  3. Scroll down to the Comment Blacklist section.
  4. Enter any of the following into the box, one item per line:
    • Keywords or phrases
    • Domains or URLs
    • Names
    • Email addresses
    • IP addresses
  5. Scroll to the bottom of the page, and click Save Changes.
0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
Related Articles
Change comment approval settings in WordPress
Added on Mon, Nov 16, 2020
Change which comments require moderation in WordPress
Added on Mon, Nov 16, 2020
Change who can comment in WordPress
Added on Mon, Nov 16, 2020
Disable comments on old posts in WordPress
Added on Mon, Nov 16, 2020
Disable comments in WordPress
Added on Mon, Nov 16, 2020