lsoknet
V2EX  ›  问与答

网站测试阶段怎样不让 Google 收录?

  •  
  •   lsoknet · Jul 30, 2018 · 2077 views
    This topic created in 2870 days ago, the information mentioned may be changed or developed.

    用 robots 吗?还是其它方法?谢谢!

    4 replies    2018-07-30 11:17:14 +08:00
    f2f2f
        1
    f2f2f  
       Jul 30, 2018   ❤️ 1
    robots 对 google 绝对好用,全部 disallow 掉就行
    CEBBCAT
        2
    CEBBCAT  
       Jul 30, 2018 via Android
    Itanium
        3
    Itanium  
       Jul 30, 2018   ❤️ 1
    robots.txt 里 disallow google 的 bot
    或者 headers 里 x-robots-tag 设为 none
    或者 html head 里加上 <meta name="robots" content="noindex" />
    panpanpan
        4
    panpanpan  
       Jul 30, 2018   ❤️ 1
    User-Agent: *
    Disallow: /
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 10:03 · PVG 18:03 · LAX 03:03 · JFK 06:03
    ♥ Do have faith in what you're doing.