No credit card. Takes under a minute.

Login
INSIGHTS2 MIN READ

Stop Spammers with a Custom Comment Blacklist in Wordpress

VynetteH

Published on July 22, 2016

Published on Wealthy Affiliate — a platform for building real online businesses with modern training and AI.

Hi,

I usually stick a comment blacklist into my websites and social media pages to stop people from commenting about inappropriate things on the site. A custom comment blacklist would block words such as:

  • graphic terminology for body parts and reproduction (I really don't want to read this!!)
  • curse words
  • drugs spammers like to advertise
  • abbreviations for stuff I'm not even sure what it is!

Since I am still working on my most recent website I looked up the list and found an extensive one here.

WARNING Don't look at the list if you are easily offended. This is stuff you DON'T want to see. Kind of the point here...

https://digwp.com/2010/02/stop-spammers-custom-bla...

Ready to put this into action?

Start your free journey today — no credit card required.

Here's what you do to stop words from the list from ending up on your WordPress website.

1. Log into WordPress and click on "Settings".

2. Click on "Discussion" (Its Under Settings)

3. Scroll down the page until you see "Comment Moderation".

4. Copy all the bad words from the page in the link above and paste into the white box under comment moderation.

5. Scroll Down more until you see the "Save Changes" button.

6. Save changes.

You are done! Comments with inappropriate terms will not be on your page. You could also place the list in the comment blacklist box and you will never see them at all. The problem with that is some of the words may be appropriate for some of your websites. For example, words that are often used in spam might be part of a keyword for a legitimate niche topic: Examples are:

  • loan
  • debt
  • dating
  • rental
  • insurance

So you will need to read the list to figure out what is actually appropriate in your niche and delete those words from the list.

Let me know if you have any questions.

Share this insight

This conversation is happening inside the community.

Join free to continue it.

The Internet Changed. Now It Is Time to Build Differently.

If this article resonated, the next step is learning how to apply it. Inside Wealthy Affiliate, we break this down into practical steps you can use to build a real online business.

No credit card. Instant access.

2.9M+

Members

190+

Countries Served

20+

Years Online

50K+

Success Stories

The world's most successful affiliate marketing training platform. Join 2.9M+ entrepreneurs building their online business with expert training, tools, and support.

Member Login

© 2005-2026 Wealthy Affiliate
All rights reserved worldwide.

🔒 Trusted by Millions Worldwide

Since 2005, Wealthy Affiliate has been the go-to platform for entrepreneurs looking to build successful online businesses. With industry-leading security, 99.9% uptime, and a proven track record of success, you're in safe hands.