« Me and Baldrick | Main | Bluebook Followup: Do As We Say, Not As We Do »

Quick Way To Eliminate a LOT of Comment Spam

I've been getting over 100 spam messages a day, almost all of the form:

You might be interested in

Notice two things: the spam message is included in H1 tags, and as a result it's extra-obnoxious, because it's very, very big. Spammers like to use H1 tags because Google and other search engines give words in those tags much more influence.

I tried getting Spamlookup to junk any link that included an H1 tag, but despite having told the plugin to junk anything with the string "<h1>", the spam kept on coming. Then, thanks to The Tweezer's Edge, I found the solution. You can read Tweezer for the precise whys and wherefores, but if you've been getting a lot of comment spam with H1 tags (about 99% of the spam I've received in the last three weeks, and over 1,000 false comments), here's what you need to exclude in the "Keywords to Junk" box of the "Spamlookup - Keyword Filter Settings" dialogue:

/<h1>/i

That's the appropriate regex entry. If you want it to be more powerful, put a space and a '4' after the 'i' in the string above.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

NOTICE TO SPAMMERS, COMMENT ROBOTS, TRACKBACK SPAMMERS AND OTHER NON-HUMAN VISITORS: No comment or trackback left via a robot is ever welcome at Three Years of Hell. Your interference imposes significant costs upon me and my legitimate users. The owner, user or affiliate who advertises using non-human visitors and leaves a comment or trackback on this site therefore agrees to the following: (a) they will pay fifty cents (US$0.50) to Anthony Rickey (hereinafter, the "Host") for every spam trackback or comment processed through any blogs hosted on threeyearsofhell.com, morgrave.com or housevirgo.com, irrespective of whether that comment or trackback is actually posted on the publicly-accessible site, such fees to cover Host's costs of hosting and bandwidth, time in tending to your comment or trackback and costs of enforcement; (b) if such comment or trackback is published on the publicly-accessible site, an additional fee of one dollar (US$1.00) per day per URL included in the comment or trackback for every day the comment or trackback remains publicly available, such fee to represent the value of publicity and search-engine placement advantages.

Giving The Devil His Due

And like that... he is gone (8)
Bateleur wrote: I tip my hat to you - not only for ... [more]

Law Firm Technology (5)
Len Cleavelin wrote: I find it extremely difficult to be... [more]

Post Exam Rant (9)
Tony the Pony wrote: Humbug. Allowing computers already... [more]

Symbols, Shame, and A Number of Reasons that Billy Idol is Wrong (11)
Adam wrote: Well, here's a spin on the theory o... [more]

I've Always Wanted to Say This: What Do You Want? (14)
gcr wrote: a nice cozy victorian in west phill... [more]

Choose Stylesheet

What I'm Reading

cover
D.C. Noir

My city. But darker.
cover
A Clockwork Orange

About time I read this...


Shopping

Projects I've Been Involved With

A Round-the-World Travel Blog: Devil May Care (A new round-the-world travel blog, co-written with my wife)
Parents for Inclusive Education (From my Clinic)

Syndicated from other sites

The Columbia Continuum
Other Blogs by CLS students