Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Getting spammed in blog comments by the same Jack ASS. How to block the spammer's IP?

  1. #11
    bogart's Avatar
    bogart is offline Super Moderator
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    Thanks
    1,886
    Thanked 776 Times in 609 Posts
    Quote Originally Posted by deluxdon View Post
    Ok then i think i need to give it a try to wp-spamfree plugin.

    DON.
    You can also use it together with akismet.

    I'm using it without akismet and it works fine.

  2. #12
    Wajdan is offline Newbie Net Builder
    Join Date
    Jun 2009
    Location
    Jammu & Kashmir
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    wp-spam free will not banned his IP but it blocks the spam comments before being published or awaited for approval.
    Webmaster & Hosting Forums
    Professional Cpanel Hosting With Unlimited Features, 99.9% uptime Guarentee
    www.cerisehost.co.uk

  3. #13
    Aquinas is offline Newbie Net Builder
    Join Date
    Jan 2009
    Posts
    59
    Thanks
    1
    Thanked 8 Times in 4 Posts

    Ban by IP Address

    Just to let you know you can ban an IP address for a blog.

    The easy way is:

    >Step One
    Add this to your .htaccess file at the root www directory for your blog (NOT your root folder, but the folder for your blog), in other words, don't overwrite the existing file.

    order allow,deny
    allow from all

    > Step Two
    Add the IP's to Ban.

    deny from 11.22.33.44
    deny from 111.222.333.4

    One line for each IP address preceded by " deny from "

    The .htaccess file will look like this:
    order allow,deny
    deny from 122.222.123.12
    deny from 222.223.1.2
    deny from 111.222.223.13
    allow from all

    If you wanted to block a range of IP (very handy when the block range of spammers are the same), the above would be like this:


    order allow,deny
    deny from 122.222.123
    deny from 222.223.1
    deny from 111.222.223
    allow from all

    (notice the missing octet for the above?)

    You can also do the same thing for domains like this instead if you want:

    order allow,deny
    deny from www.someSpammer.com
    deny from www.google.com
    deny from www.ihatespam.com
    allow from all



    Be careful if you choose the domain way as you can block inocent users by mistake (say if a domain name owner changes etc)

    If you wanted to apply it to the whole website, instead of just the blog, simply place the .htaccess file in the root folder of your website.

    Lastly if there is no .htaccess in your blogs root directory you can just make one (rarely needed)
    Last edited by Aquinas; 6 June, 2009 at 02:37 AM. Reason: html code and spelling

  4. #14
    bogart's Avatar
    bogart is offline Super Moderator
    Join Date
    May 2009
    Location
    New York
    Posts
    3,772
    Thanks
    1,886
    Thanked 776 Times in 609 Posts
    Most of the spam is coming from spam bots. You need to block the bots. Blocking the ips isn't going to do any good.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [WTT] Blog Comments!
    By Kovich in forum Content
    Replies: 1
    Last Post: 20 October, 2009, 12:29 PM
  2. Replies: 2
    Last Post: 6 October, 2009, 19:19 PM
  3. The Purpose of Blog Comments
    By CoreyFreeman in forum Blogging
    Replies: 6
    Last Post: 16 July, 2009, 01:03 AM
  4. Replies: 9
    Last Post: 18 May, 2009, 11:42 AM
  5. Replies: 3
    Last Post: 10 May, 2009, 23:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •