How to manage WordPress Comment Spam

Comment spam can be a real headache for new blog owners, and after a period of time this can grow to several hundred comments a day.

This is no benefit to your website, and indeed can be detrimental to it, and it can take a lot of your time to remove it.

So, what do you do... and why do people bother spamming your site anyway?

22 Jan, 2013

What is comment spam?

Comment spam is content that is placed on your site, has no relevance to you or your readership, and is only there to benefit the person providing it.

These comments can be added manually, but are very often automated, meaning that many such comments can be added in a very short space of time (or repeatedly over a long period of time).

Screenshot of some typical spam

Example of some WordPress comment spam

Why do people do it?

It’s mostly about links and a little bit about traffic.

You will have noticed that most of your spam comments arrive with a couple of links (usually to a site selling Ugg boots, other forms of clothing or shoes, or other products not suitable for a family-friendly site such as this one!). The aim of the spammer is to have their comment approved on your site so that it then displays underneath your post for all to see (including search engines).

Search engines can attribute importance to a web page based on the number and quality of links coming into a page. Although there are moves afoot to lessen the value given to links (or rather to increase the value attributed to other factors such as social media engagement), comment spam is still a cheap and effective way for perpetrators to artificially boost the ranking of their websites.

If you approve these comments, you are not only devaluing the readership experience and potentially reducing your own website rank (you may leak some PageRank to your spammer’s site and search engines may penalise you for linking to a spam site), but you could be improving the ranking of the spammer’s website. So, in your WordPress dashboard comments section, you need to mark these comments as spam…

Screenshot to show how to mark a wordpress comment as spam

Marking a comment as spam in WordPress

Although I haven’t seen anything documented about this, I believe that you will increase the volume of spam comments you receive if you start to approve (and especially if you reply to) those that appear. This makes sense because spammers are likely to double their efforts (and sell your details to other spammers) if they see their comments getting through.

How can you control comment spam?

There are some options in your WordPress settings panel that allow you to control the comments that are allowed on your site. Look for them in ‘Settings’–>’Discussion’ and check out the official WordPress page to find out what these settings mean and how to use them.

However, these settings on their own are unlikely to be enough.

In an article I wrote a few years ago I mentioned Akismet. This is a plugin written by the people who run WordPress, which is free for non-commercial use (and $5/month if you run a commercial site or blog). It is fantastic at filtering out spam before it even hits your site. If you have any budget at all for spam control I recommend using Akismet, which is automatically installed as part of WordPress but which needs to be activated with an API key.

If you don’t have a budget (and you don’t want to turn commenting off on your site and don’t want to add a captcha to your comment forms) there are a few plugins you could take a look at to help you reduce your spam. In my opinion, they are not as effective as Akismet, but they might help a bit.

One such plugin is called Comment Spam Wiper. Although there is a paid version of this plugin available to process large volumes of spam on your site, the basic version is free. You’ll need to install the plugin into your site and then go to the plugin website and get an API key. This API key should then be pasted into the settings field (as shown in the image below)…

Screenshot showing how to use the CSW plugin in WordPress

Adding an API key to Comment Spam Wiper

You might also like to look at the following plugins. I haven’t used them all, nor am I recommending any of them in particular, but if any of them work for you please drop a comment (not a spam one) below…

Spam Free WordPress

Anti-Spam by Webvitaly – this appears to be particularly successful at controlling comment spam in WordPress

ReCaptcha (I don’t personally like Captchas as I think it switches the burden of proof onto the person leaving the comment)

WP HashCash


  1. Courtney

    Thank you fort his information I have thousands of comments and am exhausted from trying to find my real readers in the middle of these fake links, My readers are important to me and I want to get these spammers off of my site!


Submit a Comment

Your email address will not be published. Required fields are marked *

You may also like…

How do canonical links work in wordpress?

How do canonical links work in wordpress?

Canonical links are used to indicate the preferred URL of a webpage that has multiple versions or duplicates of the same content. This article explains canonical links in depth.

Share This
Martin Jarvis

Martin Jarvis

I typically reply within an hour

We're here Monday - Friday during UK working hours. Drop us an email and we'll get back to you.

Martin Jarvis
Hi. It's Martin here. How can I help you?
Start Chat with: