#1
  1. Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Sep 2012
    Location
    WA
    Posts
    81
    Rep Power
    12

    Code to disallow certain ip addresses to view site pages


    Hi

    Sorry if this is off topic or not possible with html code. I have a site which seems to be a small target for a few people bent on wrong.

    I use blogger and I know I can shut my site down and make it viewable only to people I place on an access. This would mean limiting my site from new views and new people. I do not wish to use this option.

    But I wonder, is there an html or css code that can be added to my site that will block the ip addresses which I have logged, from viewing it?

    Thank you if you know of some method.

    DS
  2. #2
  3. SEO Since 97
    SEO Chat Mastermind (5000+ posts)

    Join Date
    Mar 2011
    Location
    Arizona
    Posts
    5,200
    Rep Power
    1928
    I've never heard of any way to do that, the only way to do it make it private and have people log in. That seems like a lot of work though. It's easier to just kick his a$s.
  4. #3
  5. No Profile Picture
    Permanently Banned
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Nov 2012
    Posts
    39
    Rep Power
    0
    .htaccess you can block an ip or a whole range or a country
  6. #4
  7. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Nov 2012
    Location
    Saudi Arabia
    Posts
    2
    Rep Power
    0
    with the help of .htaccess you can do this....

Similar Threads

  1. Google Now Showing All Backlinks
    By GaryTheScubaGuy in forum Google Optimization
    Replies: 21
    Last Post: Feb 7th, 2007, 10:53 PM
  2. Drastic Ranking Drop
    By Tiffany* in forum Google Optimization
    Replies: 1241
    Last Post: May 16th, 2006, 10:24 PM
  3. Google can be #?&%$ frustrating sometimes..
    By nobbish in forum Google Optimization
    Replies: 40
    Last Post: Sep 15th, 2005, 07:14 PM
  4. Robots.txt => Which bots to block?
    By seofishin in forum Google Optimization
    Replies: 10
    Last Post: Sep 13th, 2005, 06:48 PM

IMN logo majestic logo threadwatch logo seochat tools logo