V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lsoknet
V2EX  ›  问与答

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

  •  
  •   lsoknet · 2018-07-30 10:52:26 +08:00 · 1610 次点击
    这是一个创建于 2068 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    4 条回复    2018-07-30 11:17:14 +08:00
    f2f2f
        1
    f2f2f  
       2018-07-30 10:53:26 +08:00   ❤️ 1
    robots 对 google 绝对好用,全部 disallow 掉就行
    CEBBCAT
        2
    CEBBCAT  
       2018-07-30 11:05:45 +08:00 via Android
    Itanium
        3
    Itanium  
       2018-07-30 11:11:13 +08:00   ❤️ 1
    robots.txt 里 disallow google 的 bot
    或者 headers 里 x-robots-tag 设为 none
    或者 html head 里加上 <meta name="robots" content="noindex" />
    panpanpan
        4
    panpanpan  
       2018-07-30 11:17:14 +08:00   ❤️ 1
    User-Agent: *
    Disallow: /
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3239 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:41 · PVG 19:41 · LAX 04:41 · JFK 07:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.