1. Hi there, Guest

    Only registered users can really experience what DLP has to offer. Many forums are only accessible if you have an account. Why don't you register?
    Dismiss Notice

Blocking directory/folder on website from google

Discussion in 'Tech Support' started by World, Jan 31, 2008.

  1. World

    World Oberstgruppenführer DLP Supporter Retired Staff

    Joined:
    Apr 19, 2006
    Messages:
    3,336
    Location:
    Axis of Evil (Original)
    Hi everyone, and special greetings to Raven who I know is reading this.

    My problem is that I need google to not find a certain subdirectory of a website.

    If I remember correctly there was some way using metadata, but, surprisingly, google didn't help much ;)

    However, that would not be a very good solution, since it is a test directory and I'd like to be able to move the pages to the real folder without changes.

    Would .htaccess keep google away efficiently?

    Regards,
    o/
     
  2. Jon

    Jon The Demon Mayor Admin DLP Supporter

    Joined:
    Jun 5, 2006
    Messages:
    8,024
    Location:
    Australia
    I usually just put a password on directories I don't want google to get access to, or keep the url off of webpages... Which I tried with the Dresden files but some cuntfuck decided they were gonna post the link and let google harvest it. =_=
     
  3. Guest_

    Guest_ Third Year

    Joined:
    Jan 28, 2008
    Messages:
    105
    In your robots.txt
    User-agent: Googlebot*
    Disallow: /*mydirectory*
     
  4. Lord Ravenclaw

    Lord Ravenclaw DLP Overlord Admin DLP Supporter

    Joined:
    Apr 2, 2005
    Messages:
    4,377
    Location:
    Denver, CO
  5. World

    World Oberstgruppenführer DLP Supporter Retired Staff

    Joined:
    Apr 19, 2006
    Messages:
    3,336
    Location:
    Axis of Evil (Original)
    Many thanks to y'all :)