I have been running a website with wordpress blog since few time.

I have been receiving email reporting that few specific address has been posting un-related comments in my website. I am receiving like one email per minute from same ip address.

So since the ip address is posting un-related comments i would like to block it.

But don't know how?

Its something like: IP: 178.238.232.234 , 234.232.238.178.static.giga-dns.com

link|improve this question

79% accept rate
feedback

1 Answer

up vote 1 down vote accepted

You can block them using htaccess by putting something like this in the htaccess file in your root Wordpress directory:

Order Deny,Allow
Deny from 178.238.232.234
link|improve this answer
does it works for: IP: 178.238.232.234 , 234.232.238.178.static.giga-dns.com too – KoolKabin Jan 11 at 1:55
I updated my answer to block the specific IP address that is causing your problem. – John Conde Jan 11 at 2:07
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.