1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Blocking IP addresses in Wordpress

Discussion in 'WordPress' started by Reprobate, May 27, 2011.

  1. #1
    Is there a plug in for Wordpress to have in the admin dashboard where you can see where the IP of a commenter originates from and ban that IP from accessing your site (because they're a spammer).

    Maybe even have it set up so it redirects traffic from that IP to wherever you want it to go?
     
    Reprobate, May 27, 2011 IP
  2. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Blocking an IP address is not a good idea, because:

    1. Most of the IPs are dynamic. May be next time that IP is given to a legitimate user!
    2. Most of the spammers use fake IPs so its completely useless to ban an IP.

    Well as far as your question is concerned. There are many solutions.

    1. Best solutions

    Go to Settings>Disscussion and scroll down unless you see "Comment Blacklist". Here put the IP address(es) (one per line).

    2. By Using a Plugin: wp-ban

    http://wordpress.org/extend/plugins/wp-ban/

    This can also be achieved by editing .htaccess file. I can tell you if you are interested.
     
    otjutt, May 27, 2011 IP
    Reprobate likes this.
  3. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,480
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #3
    You can use Akismet plugin for that as well as if you want to block certain ip addresses then do it in your .htaccess file.

    DON.
     
    deluxdon, May 28, 2011 IP
  4. lelkoun

    lelkoun Active Member

    Messages:
    288
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I recommend using Raven's Antispam + Spammer Blocker.
     
    lelkoun, May 28, 2011 IP
  5. Reprobate

    Reprobate Guest

    Messages:
    1,060
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    90
    #5
    Excellent. Thanks for that.

    IP address can be a bit hit and miss, but there are some locations that simply aren't worth worrying about (in terms of the low quality traffic) but that plug-in also has "referrer url" which will have the most strategic impact in terms of blocking the spammers. Thank you!
     
    Reprobate, May 28, 2011 IP
  6. otjutt

    otjutt Member

    Messages:
    166
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #6
    I'm glad it helped you :)
     
    otjutt, May 28, 2011 IP