Anti‑Link–Spam

Anti‑Link–Spam for Wordpress is a very crude plug‑in that blocks all comments containing 5 or more URLs. In fact, it’s cruder than that; it will block all comments containing 5 or more instances of the string ‘http://’ — so it’ll block mis‑directed BBCode ‘[url=]’ spam as well.

It’s not pretty, there’s no configuration screen (you can change the hyperlink count by setting a variable in the code, and edit the HTML of the error message as well), but I’m confident it’ll reduce my comment moderation burden.

Download Anti‑Link–Spam 1.0 for Wordpress.

Please consider this plug‑in code free. If you wish to take it and transform it into a full, configurable Wordpress plug‑in then you’re welcome, though please provide attribution for this original effort.

Posted in

Leave a reply

About You
What you want to say

You can use Textile to format your comment.

So here's the deal: I'll never publish your email address ever. However, entering a valid address helps to ensure that you're not posting spam onto my pages (because that sucks). The address is also used to display your Gravatar picture next to your comments (if you have one).

Submit your comment
  • Links