How do i upload a demo page without being indexed by Google

Discussion in 'HTML & Website Design' started by premiumdomainer, Oct 22, 2013.

  1. #1
    Hi all

    Just trying my hand at html.

    Designed a page for a client. Want to upload a demo for him to see it before finishing up.

    How do i do that without the search engines seeing/ indexing the page


    thnx in advance
     
    Last edited: Oct 22, 2013
    premiumdomainer, Oct 22, 2013 IP
  2. Sukhraj Grewal

    Sukhraj Grewal Well-Known Member

    Messages:
    43
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    103
    #2
    with noindex tag similar to this <meta name="robots" content="noindex,follow"/>
     
    Sukhraj Grewal, Oct 22, 2013 IP
  3. Sukhraj Grewal

    Sukhraj Grewal Well-Known Member

    Messages:
    43
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    103
    #3
    add that in header
     
    Sukhraj Grewal, Oct 22, 2013 IP
  4. ironcladservers

    ironcladservers Well-Known Member

    Messages:
    389
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    115
    #4
    You can do above or put a dissallow entry in robots.txt
     
    ironcladservers, Oct 22, 2013 IP
    ryan_uk and deathshadow like this.
  5. premiumdomainer

    premiumdomainer Well-Known Member

    Messages:
    826
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #5
    thx alot
     
    premiumdomainer, Oct 22, 2013 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    This is the method I'd advocate -- if it's just for testing it should be in it's own directory, and none of the files it calls should be indexed, so lock out the whole thing with a robots.txt like this:

    User-agent: *
    Disallow: /
    Code (markup):
    Which nabs not just google, but all engines that obey robots.txt

    I have that on my 'open' for_others directory filled with all the examples and code I've helped people with over the various years, so I don't steal their link/search mojo thus:
    http://www.cutcodedown.com/for_others/robots.txt
     
    deathshadow, Oct 23, 2013 IP
    ryan_uk likes this.