1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Block Google From Accesing A Page

Discussion in 'Black Hat SEO' started by moonlighsunligh, Apr 17, 2013.

  1. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    Wha else do i need to to to totally block all the google boots to block a page. It shouldn't even be indexed and google shouldn't know what the content of this page is.

    So far I do htaccess and robots block. What else could I do? Is there a list og Google's IPs.
    Code:
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_USER_AGENT} Googlebot [OR]
    RewriteRule ^ - [F]
    
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_USER_AGENT} Google [OR]
    RewriteRule ^ - [F]
    
    User-agent: *
    Disallow:
    
     
  2. RMX

    RMX Power Member

    Joined:
    Nov 16, 2009
    Messages:
    726
    Likes Received:
    389
    Occupation:
    Network Security Admin
    Location:
    London, UK
    Home Page:
    • Thanks Thanks x 1
    Last edited: Apr 17, 2013
  3. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    Thanks. How do i block an ip range such as:

    from 64.233.160.0 to 64.233.191.255
     
  4. RMX

    RMX Power Member

    Joined:
    Nov 16, 2009
    Messages:
    726
    Likes Received:
    389
    Occupation:
    Network Security Admin
    Location:
    London, UK
    Home Page:
  5. moonlighsunligh

    moonlighsunligh Jr. VIP Jr. VIP Premium Member

    Joined:
    May 1, 2010
    Messages:
    1,623
    Likes Received:
    218
    Isn't there something easier. This would require around 200 lines to block all the ip ranges.
     
  6. RMX

    RMX Power Member

    Joined:
    Nov 16, 2009
    Messages:
    726
    Likes Received:
    389
    Occupation:
    Network Security Admin
    Location:
    London, UK
    Home Page:
    There are actually examples in that link that show how to block IP ranges, not single IPs. Just think a bit and you'll figure out the syntax for the correct ranges.