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

How to keep your site from getting indexed, just for a few hours

Discussion in 'Black Hat SEO' started by Physaux, Jan 11, 2010.

  1. Physaux

    Physaux Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    201
    Likes Received:
    618
    Hey guys, any advice how I can prevent google(or any other important crawler) from indexing/archiving my site for a few hours, it is already indexed but I am putting up a "temporary" version (for comment moderators to see while I use scrapebox ;) ), and I don't want google to index this temporary version. Any advice?
     
    Last edited: Jan 11, 2010
  2. djedje70

    djedje70 Regular Member

    Joined:
    Feb 5, 2008
    Messages:
    239
    Likes Received:
    252
    Location:
    none of ur fr#$%ing biz dude!!!
    Put this in your new files:

    <head>
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    </head>
     
    • Thanks Thanks x 1
  3. Physaux

    Physaux Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    201
    Likes Received:
    618
    Thanks, but do you know if this could cause something bad, like google dropping my already indexed pages? I don't want to "change" something in their archives/index, I just don't want the new page to even be "visible" to them.

    Maybe your answer does that, but I don't know, so just asking for clarification, thanks anyways

     
  4. Given

    Given Regular Member

    Joined:
    Feb 6, 2008
    Messages:
    286
    Likes Received:
    113
    If you add that only to the new pages then only your new pages won't be indexed. This will not affect your index page or pages where you do not add the code.
     
  5. Sweetfunny

    Sweetfunny Jr. VIP Jr. VIP Premium Member

    Joined:
    Jul 13, 2008
    Messages:
    1,747
    Likes Received:
    5,039
    Location:
    ScrapeBox v2.0
    Home Page:
    Issue a 503 header response, with a "retry after" value whatever length you want:

    Code:
    header('HTTP/1.1 503 Service Temporarily Unavailable');
    header('Status: 503 Service Temporarily Unavailable');
    header('Retry-After: 7200'); // in seconds
    
    It means the site is undergoing maintenance and to check back in whatever seconds, you can still display a page just issue the header response before any page data.

    Don't use noindex/nofollow in your situation.
     
    • Thanks Thanks x 1
  6. Physaux

    Physaux Regular Member

    Joined:
    Sep 21, 2009
    Messages:
    201
    Likes Received:
    618
    Thanks, that is pretty much exactly what I needed!

     
  7. djedje70

    djedje70 Regular Member

    Joined:
    Feb 5, 2008
    Messages:
    239
    Likes Received:
    252
    Location:
    none of ur fr#$%ing biz dude!!!
    Ok, I get it.
    You're replacing your whole site temporarily. I thought you were just placing new files to showcase while leaving the original ones in place.

    Yep, the header is the way then.
     
    • Thanks Thanks x 1