{"url":"https://www.namesilo.com/questions/zh-hans/websites-and-ai/google-shows-the-staging-domain-for-a-page-we-already-launched-what-should-we-check-on-the-live-and-staging-sites","language":"zh-hans","title":"Google 为一个我们已经上线的页面显示了预发布域名。我们应该检查线上站点和预发布站点的哪些内容？","answer":"确认生产环境页面可被收录，并通过 canonical 明确标识自己为生产环境页面。","body":"Google 为一个我们已经上线的页面显示了预发布域名。我们应该检查线上站点和预发布站点的哪些内容？\n\n确认生产环境页面可被收录，并通过 canonical 明确标识自己为生产环境页面。\n\n同时检查生产环境和预发布环境\n\n检查预发布站点的访问控制和收录指令，并从公开页面和 sitemap 中移除指向预发布站点的链接。\n\n检查生产环境 canonical 标签\n\n适当限制预发布站点访问或对其使用 noindex\n\n移除公开的预发布链接\n\n操作前须知\n\n使用 noindex 时，爬虫需能读取该指令；仅 robots 阻止无法保证已收录页面被移除。\n\n首先: 检查生产环境 canonical 标签。\n\n接下来: 适当限制预发布站点访问或对其使用 noindex。\n\n确认: 移除公开的预发布链接。","steps":["检查生产环境 canonical 标签","适当限制预发布站点访问或对其使用 noindex","移除公开的预发布链接"],"faqs":[],"sources":[["Google 搜索：屏蔽收录","https://developers.google.com/search/docs/crawling-indexing/block-indexing"],["Google搜索：合并重复URL","https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls"]],"english":"https://www.namesilo.com/questions/websites-and-ai/google-shows-the-staging-domain-for-a-page-we-already-launched-what-should-we-check-on-the-live-and-staging-sites"}