Jun | 02 | 2006

Moderating Comments in Wordpress

Posted by Professor as Spam

Sure, everyone hates comment spam in blogs, except the people that perpetrate these “crimes” of the blogosphere, perhaps. Most blogging softwares and packages have their own anti-spam measures, and comment moderation is one of them. This gets to be a bit tedious, though, in case you have to approve (or delete) comments one-by-one. But it’s a good start.

Here’s how to control comment moderation in WP.

Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing Comment Spam, but it has more general applications as well. If you would like to learn more about comment spam, see Fighting Comment Spam.

How Moderation Works

WordPress runs a number of tests on each new comment before posting it to your blog. If a comment fails one of these tests, it is not displayed immediately on the site but is placed in a queue for moderation, the process of manual approval or deletion by the blog’s administrator.

Controlling Moderation

You can control which comments get held for moderation on your Discussion Options page, which is located under Options ? Discussion.

If you would like every comment to be held for moderation, check the An administrator must approve the comment (regardless of any matches below) option, listed under Before a comment appears.

If you would like to send suspicious comments to the moderation queue, while letting innocent comments through, you will need to specify a set of rules for determining which comments are suspicious. These rules are specified in on the Options ? Discussion ? Comment Moderation.

The first option is to hold comments for moderation if they contain an unusually large number of hyperlinks. Most normal comments contain at most one or two links while spam comments often have a large number. Look at your own comments and set this to a value that makes sense for your blog’s audience. (Note: In version 1.5.2, and possibly others, if you do not put a number in the comment moderation links box, in other words, if this box is completely blank, all anonymous comments (and possibly others) are sent to the Manage Comments SubPanel for moderation, even if the Discussion Options Subpanel has no restrictions set.)

The second option is to specify a set of moderation keys which, if present in any part of the comment, will cause it to be held for moderation. These keys are specified one per line in the large text area, which is blank by default. Moderation keys can include Spam Words, swear words, IP addresses, and Regular Expressions.

When you add a new moderation key, it’s a good idea to test its validity by checking previous comments. Simply use the link entitled Check past comments against moderation list, which is located underneath the text box containing moderation keys. This asks WordPress to check previous comments and tell you which ones would be flagged for moderation under your new set of keys.

The box marked Comment blacklist works in exactly the same way as the comment moderation box, except that comments that match these words will be deleted immediately and without notification. So be careful! Genuine blog comments could be deleted without you ever knowing they were there.

Related Articles

Comments are closed.

  
Our Features
  • Design and Themes

    Is Your Blog W3C Compliant?

    Last night I checked my personal blog’s code hoping I can proudly display the W3C Validated Button. Since I use Blogger and do not really do anything to clean up the code (beyond adding Alt-tags to the images I embed) I wasn’t surprised at all to find that my blog contained lots of errors - [...]

    Read on
    More Design and Themes Features
  • Software and Widgets

    Wordpress Plug-ins

    If you blog using Wordpress and can’t do something that you want done like adding Sphere-related content at the end of your blog posts you might be surprised to find out that there are already plug-ins available that make it happen.
    To find good Wordpress plug-ins all you need to do is search for “wordpress [...]

    Read on
    More Software and Widgets Features
  • Reviews

    A Friend In Need

    I’m helping out my friends from the UA&P - IShareHappiness Blog Team.
    Whenever you feel pessimistic, angry, troubled, frustrated, and depressed – what have you – you need someone to talk to. Someone who could help you be more optimistic and help make you feel that there is hope. Sometimes it’s hard to talk to someone [...]

    Read on
    More Blog Reviews
  • Monetization

    How To Find Top Blogs In Your Niche

    We talked about the importance of identifying the best blogs in the niche you are targeting in the previous post. To recap, it is important to do so because you can learn a lot from the best blogs. You can check out what they are doing right – and wrong – and learn [...]

    Read on
    More Monetization Features
  • Marketing and Search Optimization

    Building your blog brand step by step

    Building your blog’s brand does not need to be difficult. However, when it comes to branding you should always remember to exert effort to be consistent with the image you wish to portray or you’ll end up with confused, turned-off, and/or skeptical readers. Branding inconsistencies will make it obvious that the image you’re putting up [...]

    Read on
    More Marketing and SEO Features
  • Blog Resources

    Promote Your Blog
    Web Design Blog
    Advertise Here
    Colorteck
Payu2blog

SUBSCRIBE

CATEGORIES

Sponsors

CONTRIBUTORS

RESOURCES

BLOG METRICS