0

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: 178.238.232.234, 234.232.238.178.static.giga-dns.com

1 Answer 1

1

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
2
  • does it works for: IP: 178.238.232.234 , 234.232.238.178.static.giga-dns.com too
    – KoolKabin
    Commented Jan 11, 2012 at 1:55
  • I updated my answer to block the specific IP address that is causing your problem.
    – John Conde
    Commented Jan 11, 2012 at 2:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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