# 向 Google 说明您的出站链接的用意

对于您网站上的某些出站链接，您可能想向 Google 说明您的网站与相应链接页之间的关系。为此，您应在 `<a>` 标记中使用下列 `rel` 属性值之一。

对于您认为无需说明用意、允许 Google 直接跟踪的常规链接，无需添加 `rel` 属性。**示例**：“我最喜欢的马是`<a href="https://horses.example.com/Palomino">`帕洛米诺马`</a>`。”

对于其他链接，请使用以下一个或多个值：

| `rel` 值           | 说明                                                                                                                                                                                                                                                                                                                                                    |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `rel="sponsored"` | <p>请将广告链接或付费展示位置链接（通常称为“付费链接”）标记为 <code>sponsored</code>。<a href="https://support.google.com/webmasters/answer/66736">详细了解 Google 对付费链接的态度</a>。</p><p><strong>注意</strong>：对于这些类型的链接，<a href="https://webmasters.googleblog.com/2019/09/evolving-nofollow-new-ways-to-identify.html">以前推荐</a>使用 nofollow 属性，现在，您仍可以使用该属性进行标记，但更建议您使用 sponsored 标记。</p> |
| `rel="ugc"`       | <p>建议将用户生成的内容（例如评论和论坛帖子）的链接标记为 <code>ugc</code>。</p><p>如果您想对值得信赖的贡献者（始终如一地做出高质量贡献的成员或用户）表示认可和奖励，则可从他们发布的链接中移除此属性。<a href="https://support.google.com/webmasters/answer/81749">详细了解如何防范垃圾评论</a>。</p>                                                                                                                                                   |
| `rel="nofollow"`  | 如果其他值不适用，并且您希望 Google 不跟踪您网站上的出站链接（不从您的网站上抓取站外链接页），请使用 `nofollow` 值。（对于您自己网站中的站内链接，请使用 robots.txt，如下所述。）                                                                                                                                                                                                                                              |
| *多个值*             | <p>您可以将多个 <code>rel</code> 值合并为一个以空格或英文逗号分隔的列表。<strong>示例</strong>：</p><ul><li>我喜欢<code>\<a href="<https://cheese.example.com/Appenzeller_cheese>" rel="ugc nofollow"></code>阿彭策尔<code>\</a></code>芝士。</li><li>我讨厌<code>\<a href="<https://cheese.example.com//blue_cheese>" rel="ugc,nofollow"></code>蓝纹<code>\</a></code>芝士。</li></ul>              |

Google 通常不会跟踪标有这些 `rel` 属性的链接。请注意，链接页也可能经由其他途径找到（例如站点地图或其他网站的出站链接），因此仍有可能被抓取。这些 `rel` 属性仅能在 `<a>` 标记中使用（因为 [Google 仅能跟踪 `<a>` 标记所指向的链接](https://support.google.com/webmasters/answer/9112205)），但 `nofollow` 属性除外，该属性还可以用作[漫游器元标记](https://support.google.com/webmasters/answer/79812)。

如果您不想让 Google 跟踪指向您的站内网页的链接，请使用 [robots.txt Disallow 规则](https://support.google.com/webmasters/answer/6062596)。

如果您不想让 Google 将某个网页编入索引，请允许抓取并使用 [noindex robots 规则](https://support.google.com/webmasters/answer/93710)。<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.jasonzhang.cc/google-dev/search-console-bang-zhu/chang-gui-zhi-nan/xiang-google-shuo-ming-nin-de-chu-zhan-lian-jie-de-yong-yi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
