WordPress Blog Comment Handling

  • Website
  • Published Dec 27, 2014 Updated Mar 26, 2019

I have always found my blog’s comments a great source of feedback. In many cases, readers have contributed valuable additions to the article content or pointed out errors which I subsequently fixed. However, there is a dark side to enabling others to add content to your side: spam. Here is how I am (successfully) dealing with that threat.

Moderation

The first and most important setting for fighting spam is moderation. At the end of the day, only you (i.e. a human) can decide if a comment is spam or ham. Also, in countries like Germany, you as the site owner are responsible for its content. You want to make sure to weed out anything legally questionable. The relevant WordPress setting to enable is “Before a comment appears comment must be manually approved”:

Wordpress-1

Captchas

I have used the WP-reCAPTCHA plugin for a while, but there were issues with SSL support. Much more importantly, captchas help against machines, not humans. And even that protection is dubious as some captcha systems seem to have been broken (i.e. can be solved by software). Additionally, spammers seem to employ real humans for filling out comment forms. So captchas are probably not as effective today as they used to be. And in terms of user experience captchas suck.

Akismet

Getting rid of the captchas had a surprisingly little effect on the number of spam comments I actually have to deal with thanks to Akismet, a cloud-based spam detection service operated by Automattic, the people behind WordPress itself. The only thing you have to do is to sign up for an API key and enable “Silently discard the worst and most pervasive spam so I never see it.” With that configuration, I only get the occasional spam comment. Because of my moderation settings those spam comments never appear in public and I can delete them whenever I find the time.

Issue: Akismet Has Detected a Problem

I recently got an Akismet notification on my WordPress comment page saying

Akismet has detected a problem. Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation and will automatically be rechecked later. Please check your Akismet configuration and contact your web host if problems persist.

As it turned out the reason for that were some really long comments in either Mandarin or Cantonese (I could not tell) which Akismet apparently could not deal with, maybe because of its length. Simply marking that comment as spam was not enough to resolve the issue, but once I manually deleted the spam comments the problem was gone.

Happy blogging!

Comments

Related Posts

Scripted WordPress to Hugo Migration

Scripted WordPress to Hugo Migration
After having published in WordPress for almost 20 years, it was time for a change. This site is now rendered by Hugo, a static website generator built for Markdown content hosted in a Git repository. The migration from WordPress (HTML) to Hugo (Markdown) was far from trivial. Since I couldn’t find any tool for the job, I developed my own set of migration scripts that fully automate the migration process. You can find them on GitHub along with extensive documentation.
Website

Latest Posts

Fast & Silent 5 Watt PC: Minimizing Idle Power Usage

Fast & Silent 5 Watt PC: Minimizing Idle Power Usage
This micro-series explains how to turn the Lenovo ThinkCentre M90t Gen 6 into a smart workstation that consumes only 5 Watts when idle but reaches top Cinebench scores while staying almost imperceptibly silent. In the first post, I showed how to silence the machine by replacing and adding to Lenovo’s CPU cooler. In this second post, I’m listing the exact configuration that achieves the lofty goal of combining minimal idle power consumption with top Cinebench scores.
Hardware

Fast & Silent 5 Watt PC: Lenovo ThinkCentre M90t Modding

Fast & Silent 5 Watt PC: Lenovo ThinkCentre M90t Modding
This micro-series explains how to turn the Lenovo ThinkCentre M90t Gen 6 into a smart workstation that consumes only 5 Watts when idle but reaches top Cinebench scores while staying almost imperceptibly silent. In this first post, I’m showing how to silence the machine by replacing and adding to Lenovo’s CPU cooler. In a second post, I’m listing the exact configuration that achieves the lofty goal of combining minimal idle power consumption with top Cinebench scores.
Hardware