Blocking IP address for blog comment, how?

Discussion in 'WordPress' started by cktan, Mar 25, 2010.

  1. #1
    One of my WP blogs is getting lots of comment spam recently and seems like my Akismet simply cant stop them.. After doing some investigation I found that 90% of these comments came from 1 country, so I just wonder is there any way to block all the comments which come from certain countries?

    Thanks!
     
    cktan, Mar 25, 2010 IP
  2. lelkoun

    lelkoun Active Member

    Messages:
    288
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Akismet is a crap. Use Invisible Defender instead this and install WP-Ban.
     
    lelkoun, Mar 26, 2010 IP
  3. techslip

    techslip Peon

    Messages:
    174
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can't you use the ReCaptcha plugin? I use that and have never had a problem with spam. It is the tool that makes users type in the words they see before they can comment.
     
    techslip, Mar 26, 2010 IP
  4. sakto

    sakto Active Member

    Messages:
    1,517
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    90
    #4
    You can also try using Bad Behaviour plugin.
     
    sakto, Mar 27, 2010 IP
  5. shivam0000

    shivam0000 Member

    Messages:
    178
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #5
    you should use the ReCaptcha plugin
     
    shivam0000, Mar 31, 2010 IP
  6. Mikesloug

    Mikesloug Guest

    Messages:
    150
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I know that ReCaptcha plugin good for human verification but i need bad commends ip blocking.
     
    Mikesloug, Apr 1, 2010 IP
  7. donnyanm

    donnyanm Peon

    Messages:
    240
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I would outright keep them out of your site.

    go to your .htaccess

    deny from 1.2.3.4

    Replace the 1.2.3.4 with their IP and they can no longer access your site.
     
    donnyanm, Apr 3, 2010 IP
  8. vishal_gupta

    vishal_gupta Well-Known Member

    Messages:
    161
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    113
    #8
    In my opinion, you should use recaptcha plugin for wordpress for this purpose and after that you have not to block several IP's.
     
    vishal_gupta, Apr 3, 2010 IP
  9. That-Guy

    That-Guy Peon

    Messages:
    452
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I have just installed this: http://wordpress.org/extend/plugins/wp-ban/

    It works amazing, simply enter the IP Address of the Spammer and they will not be able to visit your blog again.

    After they are banned you can view how many times they have tried to visit the site.
     
    That-Guy, Apr 4, 2010 IP