If you are like me, you hate blog spam. As your blog becomes more popular this annoying phenomena only increases in frequency and intensity (both the spam and your aggravation level). There are many anti-blogspam solutions available for your blog software that can help. I recommend Conditional CAPTCHA for WordPress. It can really cut down on the automated bot submissions that are just abusing blogs all day long.
However, as with any software, the people who proliferate the Internet with their garbage are always finding ways to defeat the defensive measures employed by blog owners. And the spam goes on.
So, I have conceived of a solution that is so radical, so explosive, so… simple… that I hurt my shoulder trying to pat myself on the back. Before I reveal the idea (you can just skip ahead if you can’t wait), I want to explain the main reason that this blog spam exists in the first place.
Why do you get this crap? The simple answer is SEO. Search Engine Optimization is the art and science of improving a website’s rankings in the major search engines. SEO is a very good thing for website owners to do and is essential in today’s Internet market place. However, as with anything in life, there are always cheaters. Those who find a technique that helps their SEO efforts and then they find a way to automate it and abuse the hell out of it. Thus is the foundation of blog spam.
Years ago those who deal in SEO discovered a neat trick. By leaving comments on blogs with links back to whatever URL you put in the form, you could acquire oodles of oneway backlinks. WordPress by default comes with a URL field in the comment form that allows people to post their website address (URL) with their comment and it automatically links the URL to the name given in the name field. So the evil geniuses wrote programs which allow one to comment repeatedly and thus create tons of backlinks. With a few clicks of the mouse one could post hundreds or thousands of blog comments.
Well, like any aggressive SEO method, the big search engines such as Google saw this as illegitamate and deemed it as spam. Its potential SEO value greatly diminished. But the genie is out of the bottle and every shameless SEO continues to employ this technique to this day. Their goal: to get as many backlinks for their website as possible.
Now that you understand why this occurs, you will understand my drastic solution.
The Solution
SOLUTION: Delete the URL field from the comment form. Amazing! Incredible! Genius!
The main reason these fools continuously submit spammy comments is to get their URL (link) on your blog. If you remove the field, whammo… purpose eliminated. Of course they can still put links in the comment text, but most anti-spam software discards that all day long. So it is not very appealing to the spammer.
Additionally, this will cause problems for bots which auto-submit to your blog. A field is missing and their input will break. The auto-bots will get errors and move on to other places.
For some sites this may not be feasible because the URL field in the comment form is important to you. Well then, this ain’t for you then.
How to Remove the URL field from your WordPress comment form:
1. In your wordpress admin dashboard click on Appearance/ Editor.
2. Select Comments.php from the list of files on the right side.
3. Find the line of code:
and DELETE it!
4. Save your changes. Done.
NOTE: This file is theme-based, so your theme may have slightly different code here. If you are smart, you will find the right thing. Also, you must do this for every theme you have sitting in your theme folder not just the active one, especially the default theme and Twenty Ten which come with WordPress. Spammers will use the paths to the default themes to bypass your changes to your own theme. You could just delete all those themes anyway if you are not using them
One last caveat… it doesn’t do anything about pingback comments with the URL. But those are less frequent and they represent a backlink for you anyway, so not a big deal.
This can also be done by FTP and direct file editing if you are so inclined. If you are a wordpress.com user, sorry… this won’t work.