Staging server

Discussion in 'Search Engine Optimization' started by gwh, Mar 3, 2008.

  1. #1
    Hi everyone,

    I'm putting together a website for a client and was going to upload the files to a subdirectory on their web host's server as I finish parts of it. I wondered if I do this, will search engines come and index the site even though it's still under construction and will eventually be put in another directory?

    Any advice appreciated.
     
    gwh, Mar 3, 2008 IP
  2. faisal313pk

    faisal313pk Peon

    Messages:
    81
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, if googlebot comes to your server, most hopefully it will eat your newly website even though its under construction.
    The best is to stop the googlebot to not index under construction pages to block that specific directory via robots.txt
    In robots.txt just add a line like this.

    User-agent: *
    Disallow: /directoryName
    Disallow: /fileName

    And googlebot or any crawler will not be able to eat your pages under the specified directory.
     
    faisal313pk, Mar 3, 2008 IP
  3. sajidmm

    sajidmm Peon

    Messages:
    579
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes it will be index fast , if you main site is already indexed, if you want to stop search engines then create robot.txt file on your main directory.
    and write this

    User-agent: *
    Disallow: /directory name

    See you. :)
     
    sajidmm, Mar 3, 2008 IP
  4. gwh

    gwh Active Member

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #4
    Thanks for the replies,

    Will place this file in the main directory as suggested.
     
    gwh, Mar 3, 2008 IP
  5. sultanofseo

    sultanofseo Notable Member

    Messages:
    9,930
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    265
    #5
    i'm not really sure what you are trying to do. are you trying to use a subdirectory so that google bot doesn;t find your site or you want to know whether you put in in the subdirectory whether you can still get indexed? if you want to get your site indexedm then in the main folder. but if you want G bot not to find your site till its done, then puting it in another directory will prevent G bot to find your site and you can finish building your site then announce
     
    sultanofseo, Mar 3, 2008 IP