Tips to stop blog comment spam on WordPress blogs

I enjoy publishing my blogs using WordPress. A few short months after switching to WordPress from Blogger, I began to get a steady trickle of comment spam. Just plain garbage not related to any of my articles. These comments contain URLs for porn, prescription medication, online casinos, loan providers, insurance providers and more. Some just have random characters and a URL, while others might have eight rows of URLs.

Still others include fake compliments in broken English, such as “Great site. I like you say. Go”

I get annoyed and frustrated because I would like legitimate reader feedback and I don’t want to turn off real visitors who see these junk links. So my writing hobby also requires constant vigilance.

Also, this nonsense messes with my traffic stats. I want to have reliable numbers, not artificially inflated with spammer visits.

What’s most bizarre is that the guys/gals posting this crap don’t know that comment spam is no longer effective in improving their Web site’s natural search results, because it’s typically not relevant and the no-follow tag tells the major search engines not to index hyperlinks in comments. These spammers are not following current Search Engine Optimization methodology and tactics. I guess they didn’t get the memo at the last Spammer-con.

Tips for WordPress blog publishers:

  • Regularly update the Comment Moderation filter with keywords you want to screen for and temporarily hold in a queue for your review.
  • Regularly update the Comment Blacklist filter — extreme foul language or comment spam subjects like casino, prescription names, sex acts, etc.
  • Temporarily block IP address ranges that repeatedly post spam over time. (Warning! Only advanced users should consider this extreme tactic.)
  • Install a plug-in that challenges the comment poster to either answer a math problem or type in the text displayed in an image. That helps slow down automated spambots.
  • Activate Akismet plug-in to move possible comment spam into a queue for your review.
  • Install and activate Bad Behavior plug-in to block known spammers from accessing your blog.

I regularly update the built-in WordPress Comment Moderation filter (“Options > Discussion”) with various keywords and domain names to help flag comment spam and put it in a review queue.

While I’m doing that, I also update the Comment Blacklist with every dirty word and spelling/misspelling variation I find in comment spam.

At times I’d turn off the comments function for a few days to see if I could make the spammers give up and move on. But after I turned the function on again, the spam returned quickly. Presumably automated spam bots are the cause.

I tried implementing a challenge mechanism that requires the comment poster to type in the letters/numbers displayed in a unique image. But that didn’t have much affect and broke unexpectedly a few times.

I activated the WordPress Akismet plug-in about 3 months ago. Since then, Askimet has caught 977 and 351 spam posts on and, respectively. It automatically puts comments in it’s own queue (“Manage > Akismet Spam”) and I review to confirm there are no legitimate reader posts. What’s nice about this tool is that it draws from a library of data to help flag possible spam posts. Then when I submit what I consider to be spam, it combines with other user-provided data so all users benefit.

Akismet has caught 977 spam for you since you first installed it.
You have no spam currently in the queue. Must be your lucky day. 🙂

Suddenly, the first week of November I got several hundred spam messages in my Akismet queue in less than a weeks time. I decided it was time to find a tool to block spammers before they could even post.

I’ve carefully used the Comment Blacklist to restrict specific IP address ranges that repeatedly abuse my blog. I’ve even updated .htaccess file a few times. But realizing that IP addresses may change, I edit these only temporarily as a short-term solution to try to make spammers/spam bots move on.

Obviously, this is becoming to much work. I needed an automated solution. The plug-in I found is called Bad Behavior. It essentially prevents identified spammers from accessing the blog. Period.

I installed Bad Behavior on a Sunday morning on my two primary blogs. By Friday morning (5 days later), it reported that it had blocked 2,381 access attempts on and 198 access attempts on I can check (“Options > Bad Behavior”) to see how many attempts are reported for the past 7 days.

In the same period since installing Bad Behavior, each day I also checked the Akismet plug-in to see if anything is in my queue awaiting confirmation and I am happy to report it has been zero each day for both blogs.

There are other popular WordPress plug-in solutions, such as Spam Karma, that work well for many bloggers. But your best strategy to get started should be trial and tweak, and add on additional tactics carefully. Research these solutions I’ve mentioned (Akismet, Bad Behavior, Spam Karma), check out other options available at, and decide what may be right for you. Just don’t activate too many simultaneously because you might create unexpected conflicts that could prevent legitimate visitors from accessing or contributing to your Web site.

In summary, WordPress owners should:

  • Carefully identify keywords not related to your blog content that you want to moderate or block altogether.
  • Install and activate the latest Akismet and Bad Behavior plug-ins.
  • Fine tune as necessary so you keep the good posts in and the garbage out.
  • Keep publishing!

I hope you find this useful.
Good luck!

Tips how to write a professional blog

In my last article, I wrote about Reasons why you should write a professional blog.

Before setting out to write a professional blog, there are many things you should plan first. Here are some blog writing tips to consider.

Decide why you want to write a professional blog?

Is it for personal satisfaction? To share your professional experience? To demonstrate that you are a subject matter expert?

Pick the subject you want to blog about.

Personal experiences? Observations? Criticizms of your industry? Would you read it?

The best advice always seems to be to write about what you know or what you are most passionate about.

Define the audience you are writing for.

A specific niche? An industry? Your clients? Your colleagues?

Decide what you are willing to invest.

How much time a week will you commit? Do you want to own a domain name? Do you want to host yourself?

Commit to publishing your blog for at least 12 weeks. If you get that far, it should become a matter of routine for you and you’ll know whether you’ll stick it out for longer.

Owning your own domain name and hosting yourself provide more control, but come at a nominal annual cost.

Evaluate publishing tools.

There are plenty of free services to get you started: WordPress, Blogger, Live Journal. Compare features and decide what is appropriate for you.

Define a publishing plan.

Publishing quality content, at minimum once or twice a week, is important to keep your content fresh. That will encourage readers to treat you seriously and search engines to come back regularly.

Create your personal publishing rules.

To appear professional you need to act professional. I’ve decided that my two Web sites each have a specific subject matter and focus. Therefore, every time I write, I try to make sure the article topic fits appropriately. If it doesn’t fit, it doesn’t get published.

Get to the point. I try to write with a problem/solution mindset. If I’m writing about someone else’s article, I try to add solutions in addition to what the original author provided. That way I’m truly providing value.

Give credit where credit is due. The Internet is supposed to be a community to share and spark ideas. So cite your sources. Link to the originating article that gave you an idea. Give credit to where ever you got your artwork or tools from.

Keep it clean. While it may be easy to use profanity, step up to the challenge of getting your point across without profanity. That will make you appear more professional.

Don’t be afraid to experiment.

Use the pluggins that your publishing tools comes with. There are an amazing variety of free and open source tools available for you to add functionality and manage your blog. Check out Google Analytics for rhobust site statistics. Learn how to generate a feed and submit to Feedburner, Google Site Maps and Yahoo Site Explorer.

Stay objective. Avoid politics.

Keep politics out of the conversation. There’s no reason to polarize your audience. It’s a cheezy way to stir up controversy.

Don’t be cheezy.

The blog/Web site is an extension of you. Think of it as your personal brand. Don’t include amateur things like site counters, animated email icons, or bad usability and design — all of which discredit you as a subject matter expert. There are plenty of elegant and functional blog themes to choose from and modify with care.

Define how you want to monetize the Web site.

I’d suggest to write to define your credibility as a subject matter expert. Don’t worry about adding AdSense or other advertising. Instead, focus on publishing quality content and developing a subscriber base. Then you can evaluate different methods to run sponsor advertising in the future.

So please let me know your thoughts. It’s been quite a liberating experience. You should consider doing the same. Good luck!