Filtering & deleting comments based on specific text string

  • Unknown's avatar

    I run a blog at http://www.yousuckatcraigslist.com. For the last few days, my site has been inundated with spam messages that copy the entire text of a previous post, and append the following text: “(to vote for this comment, please visit the site)” — minus the quotes. The comments all have URLs listed as a link from the “commenter’s” name, and the names are all common names like Sean, Kelly, and other normal sounding things. The email addresses are all things like “(email visible only to moderators and staff)” or “(email visible only to moderators and staff)”.

    Is there a plugin or a way for me to filter comments to look for this string of text and automatically flag them as spam? I’m getting 10-15 of these per hour for the last few days, and the Akismet filter isn’t good at catching them because they’re existing posts that have already been approved.

    I can’t use the WordPress moderation/blacklist options because it’s multiple pages, and would flag everything containing ANY of the text “(to vote for this comment, please visit the site)”, which would be a lot of comments.

    Ideally I’d like to filter the comments containing that string of text to the spam filter. Can anyone help?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The blog you specified at http://www.yousuckatcraigslist.com does not appear to be hosted at WordPress.com.

    This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

    This is an automated message.

  • The topic ‘Filtering & deleting comments based on specific text string’ is closed to new replies.