# 如何串接 Google Search Console 並提交 Sitemap

### 串接 Google Search Console

先至 Google Search Console 新增網域，並驗證 DNS權限

<figure><img src="/files/GDqWpzlgA4tCXIeGWwQC" alt=""><figcaption></figcaption></figure>

選擇「任何 DNS 供應商」，你會得到一組TXT紀錄，複製起來並貼到你管理 DNS 的廠商(例如 godaddy.com namecheap.com 或是 Cloudflare)

<figure><img src="/files/JWzwXdDLLIA50RiHjBZd" alt=""><figcaption><p>以 Cloudflare 為例</p></figcaption></figure>

接著回到 Google Search Console ，驗證網域

<figure><img src="/files/cAi8ekjMvJWJHoAwlnSH" alt=""><figcaption></figcaption></figure>

### 提交 Sitemap

Sitemap是給搜尋引擎看的，網站架構圖

提交Sitemap的作用是，讓Google更完整了解自己的網站，加速對網站內容的收錄(讓內容可以被搜尋到)

在 Rank Math 外掛裡面，可以找到 Sitemap Settings

或是任何一個SEO外掛，都應該要有這個生成sitemap的功能

找到那個Sitemap的網址，複製起來

<figure><img src="/files/fC4yh6B77JOrH7u66Mqf" alt=""><figcaption></figcaption></figure>

到[Google Search Console](https://search.google.com/search-console)裡面

點擊Sitemap，輸入剛剛複製的sitemap網址，按 提交

一開始狀態會顯示失敗，過幾秒後，重新整理，就會顯示成功了

<figure><img src="/files/sugmIqgCuk9jkKgrnQuc" alt=""><figcaption></figcaption></figure>


---

# 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://docs.wpsite.pro/wp/seo-sou-xun-yin-qing-jia-hua/ru-he-chuan-jie-google-search-console-bing-ti-jiao-sitemap.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.
