PDA

View Full Version : Problem with spammer



Garik Vardgesyan
April 10, 2013, 11:28 AM
I have a problem with one or two spam user who continuing to register to my sites. The anti-spam plugin actually does not help to prevent.
Please advise how I can ban this user. I know their IP addresses. Maybe I need to do something with htaccess file. Please advise.

Steffen Buschkemper
April 10, 2013, 12:22 PM
Hi Garik,

open your .htaccess file and paste this code



order deny,allow
deny from XX.XX.XXX.XX1
deny from XX.XX.XXX.XX2


XX.XX.XXX.XX1 and XX.XX.XXX.XX2 you must change with the spammer IPs you have.

Best regards
Steffen