# 让页面不出现在 Google 中

> 要让页面不出现在 Google 搜索中，应使用 noindex，并保持页面可被抓取。只靠 robots.txt 做不到，因为 Google 必须抓取页面才能看到 noindex。永久移除应删除或保护内容；删除工具能在一天内隐藏页面，但只维持大约六个月。

- URL: https://geo.casa/zh-cn/crawling-indexing/keep-out-of-google/
- 指南 · 官方文档已说明
- 审核于: 2026-10-25

## 开始之前

- 先确定目标：**不在 Google 中显示**（noindex）、**任何人都无法访问**（保护或删除），还是**尽快消失**（删除工具，再配合前两者之一）。
- 找出提供该内容的所有 URL 变体（带或不带参数、大小写不同等）。

## 1. 用 noindex，而不是 robots.txt

> **官方文档已说明:**
> `noindex` 可以通过 `<meta>` 标签或 HTTP 响应头设置，两者效果相同。Googlebot 看到它后，「Google 会将该页面完全从 Google 搜索结果中移除，无论是否有其他网站链接到它」。
>
> 参考来源: [Google Search Central: Block Search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing)

```html
<meta name="robots" content="noindex">
```

```txt
X-Robots-Tag: noindex
```

## 2. 保持页面可被抓取

> **官方文档已说明:**
> 「要让 noindex 规则生效，页面或资源不能被 robots.txt 文件屏蔽。」如果被屏蔽，爬虫永远看不到 noindex 规则。Google 也不支持在 robots.txt 中指定 `noindex`。
>
> 参考来源: [Google Search Central: Block Search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing)

> **官方文档已说明:**
> 如果有其他页面链接到被 robots.txt 屏蔽的页面，该页面仍可能在没有描述的情况下出现在搜索结果中。
>
> 参考来源: [Google Search Central: Introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro)

## 3. 需要尽快消失？

> **官方文档已说明:**
> 删除工具可以在一天内把你网站上的页面从 Google 搜索结果中移除，但请求「大约持续 6 个月」。要永久移除，应删除或修改内容、用密码保护，或添加 `noindex`。
>
> 参考来源: [Google Search Central: Remove your site info from Google](https://developers.google.com/search/docs/crawling-indexing/remove-information)

## 验证

- 用 Search Console 的网址检查工具，确认 Google 能看到 `noindex`，且未被 robots.txt 屏蔽。
- Google 重新抓取页面后再检查一次；在此之前，旧的搜索结果可能仍会显示。

## 回滚

删除 `noindex` 规则，并在网址检查工具中请求编入索引。

## 常见错误

- 同时添加 `noindex` **并且**在 robots.txt 中禁止抓取：禁止抓取会让 `noindex` 无法被看到。
- 只依赖删除工具：大约六个月后页面会重新出现。
- 想留在搜索中、只是限制 AI 概览，却用了 `noindex`。这种情况应改用摘要控制（[AI 概览与 AI 模式的摘要控制](https://geo.casa/zh-cn/crawling-indexing/snippet-controls/)）。

## 参考来源

- [Google Search Central: Block Search indexing with noindex](https://developers.google.com/search/docs/crawling-indexing/block-indexing)
- [Google Search Central: Remove your site info from Google](https://developers.google.com/search/docs/crawling-indexing/remove-information)
- [Google Search Central: Introduction to robots.txt](https://developers.google.com/search/docs/crawling-indexing/robots/intro)
