Getting rid of spam comments
Porn, viagra, casino, and some words I don’t understand… I got more than 70 within a week! Fortunately, the WordPress keywords filter removed most of them, but it’s not enough, since the database size strangely increased. I am using a new method: denying spam robots with .htaccess file.
According to the WordPress site, you should write:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} .wp-comments-post\.php*
RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^-$
RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]
Well, let Apache do its job. Meanwhile, I realized it’s too simple to write a spam engine with Pear’s HTTP/Request or Perl’s libwww.
Below are the spam words I collected that make most of spammers away, next step, installing a Captcha plugin.
Southside real estate
66.132.143.8
http://alabama-real-estate-sale.com/
gambling
holdempoker
Buy Phentermine Online
Cheap Phentermine
209.190.4.10
209.190.4.106
http://www.casinolasveges.com
http://www.muchila.com/online-casino.html
autophotograph anti-obseity
unfeasable stonemason
hoodia asian bondage
http://onlinepoker.freewebtools.com
phentermine30.lookscool.com
http://phentermine1.athome.to
http://roulette.up-a.com
http://online-casino.webpark.pl
hoodia antimicrobial
dietpills anti-aging
66.199.247.74
phentermine
medications xenical
85.64.110.147
http://paydayloans.funsmart.com
payday loans online
coolhu
216.255.176.18
69.41.161.55
fioricet
butalbital
valeraldehyde
flaconimports
zealful
erethismic
tramadol
prescriptions
69.41.161.55
antimissioner
80.178.147.66
Monaco Gold Casino
http://Monaco-Gold-Casino.newsua.org
Abigail_Alessandra@aol.com
85.64.110.239
http://weightlossdiet.fictioncity.com/
WEIGHT LOSS diet
80.178.156.118
http://www.muchila.com/
http://www.mpthrill.com
216.255.176.19
http://www.u-blog.net/gayporn
gay porn
gay pics
http://www.20six.co.uk
BBW Pics
gaymail.com
