How to blog IPs from viewing blog

Discussion in 'WordPress' started by geester1, Oct 5, 2009.

  1. #1
    Does anyone know how to block ip's so they cannot view your blog? I want to try and prevent competitor from viewing blog.

    I have been told it is something to do with htaccess? Does anyone know the exact code please?
     
    geester1, Oct 5, 2009 IP
  2. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #2
    WP-Ban

    I am sure this is what you need.
     
    ads2help, Oct 5, 2009 IP
  3. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Can't give you the exact code since we don't know what IP addresses you need blocked. Also considering that they could just connect from somewhere else, in this case an IP block is worthless.

    But here's how to do it:

    http://www.hostingmanual.net/other/htfun.shtml

    Look for the bit about "Block Users from Accessing Your Web Site"
     
    theapparatus, Oct 5, 2009 IP
  4. geester1

    geester1 Well-Known Member

    Messages:
    2,250
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    105
    #4
    they have static IP addresses and I want to make it as difficult as possible.
     
    geester1, Oct 6, 2009 IP
  5. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #5
    And they can go down to their local coffee shop and view it from there. There's no such thing as blocking access to a site for certain people. Look at all the ways folks in China get around the blocks placed by their government.

    Solutions:

    - Take it off the web

    - Get a court order to make them not view it.

    - Realize that what you want isn't possible and move on.
     
    theapparatus, Oct 6, 2009 IP