How To Block A Commenter From Dropping Dodgy Links

Bloggers everywhere complain about spam comments that are not picked up by Akismet (or whatever anti-spam plugin they are using), but just as annoying for me are the comments that are not spam but include links to a dodgy web site.

They are annoying because they leave a decent comment but then insist on inserting a link to a questionable web site. I used to delete the link, and keep the comment, but they keep coming back and posting that damn dodgy link.

So I started deleting the comment but they still kept coming back and posting the same URL. Then I found a better solution, a solution that is actually very easy to implement because it is built into WordPress.

1. Go to Settings → Discussions


2. Scroll down to Comment Blacklist


3. Enter any URL, email address, IP address or words you wish to add to the blacklist.

And that is it.

Be very careful with which words you are going to block. Because it will not just block that word if it appears as an anchor text.

Dean Saliba

Dean Saliba is a freelance writer, professional blogger, media enthusiast, dirty football player and huge professional wrestling fan who covers a wide range of subjects and niches including, making money online, traffic generating, pro wrestling, blog reviews, football, how-to guides, music, internet marketing and more.


  • Good tips, sometimes using akismet is not good..

    I’ve a friends which is complain because he’s comment not appear in my blog. after checking, the comment in akismet spam..

    • I both love Akismet and loathe it at the same time. Without it I’d have to manaually sort through thousands of spam comments every day and it counts genuine comments as spam.

      I’ve even had my own admin comments counted as spam on this blog before. :/

      I’m so tempted to start using Growmap Anti-spambot Plugin (G.A.S.P) instead. All it does is places a tick box under the comment box (you’ve no doubt seen them around lately). 🙂

  • Hey Dean, love your way to block a spammer that keeps coming back every single day and sometimes it well worth the trouble with copy/paste into WP admin. I’d rather not use Akismet as it sometimes sees me as a spammer of my own blog. I’m not getting many comments on my blogs but even if I did I’d still go through them one by one as I love answering comments 🙂

    • Hiya Chris, thanks for the nice comment.

      As of right now I have dropped Akismet. I’ve installed the Growmap Anti-spambot Plugin (G.A.S.P) plugin that I mentioned in an earlier comment. I hope I don’t come to regret that decision. 🙂

  • It looks like Growmap Anti-spambot Plugin will serve me well. I am over there to get it now. I use Akismet and get so many comments (Spam and Normal) that I don’t have time to go through them everyday.

    I want people to have their comments posted on my blog but also don’t want dodgy sites posted.

    Very difficult.

    • I don’t think there is ever going to be a 100% solution but I think mixing GASP with this is is certainly going to help. I have only had to remove a couple of comments in the past couple of months. 🙂

  • Whoa! I prefer deleting their posts than keeping me busy all day. Some people don’t learn Dean and they would rather lost their post than lost their links.. 🙂

Comments are closed.