WordPress IP Block

For the last few days, I’ve been annoyed by spam comments.  They all came from the same IP.  Luckily, blocking this IP seems very easy.

Click on ‘Settings’ from WordPress Admin.

-> Click on ‘Discussion’ from the sub menu.

-> Add IP addresses that you’d like to block in the ‘Comment Blacklist’ box.

That’s it!  This will prevent comment spammers from taking your precious time.


  • By andreeaCFX, January 29, 2009 @ 2:07 am

    Thank you!Your site is very nice

  • By --StEvEnZ--, February 25, 2009 @ 1:43 am

    Thanks for sharing! At last I can ban spammers with the same IPs :-P

  • By Hiral, May 21, 2009 @ 12:18 am


    I am using Wordpress and use the email addresses in black list for blocking comments from some users.

    I notice that those spam comments come from different addresses (no of addresses), So how can I prevent that?? Addresses are much so all I need to list, but these number is very much …So what is the other solution?

  • By admin, May 23, 2009 @ 12:17 pm

    I would recommend CAPTCHA. This doesn’t eliminate spam comments, but it definitely reduces the volumn.


Leave a comment