產品 SEO 與 GEO 代理 付費廣告代理 網站代理 轉換代理
運作方式 方案 常見問題 部落格 預約通話

Sitemap 趨勢:XML 和 HTML Sitemap 到底變了什麼

更新於 · 閱讀約 6 分鐘

簡短回答 Sitemap 變得更簡單了,而不是更聰明。Google 和 Bing 現在都忽略 priority 和 changefreq 標記,只有在 lastmod 日期準確時才使用它,Google 也在 2023 年關閉了 Sitemap ping。Bing 加入了即時更新的 IndexNow,並表示 Sitemap 會為它的 AI 回答提供內容。Google 表示 AI 搜尋不需要任何特殊檔案。

想把這些用在您的生意上?預約一次 30 分鐘的免費通話,一起聊聊。

預約通話

Sitemap 有哪些變化?

2022 年到 2025 年之間有五項變化,大多讓 Sitemap 更省事,而不是更麻煩。XML Sitemap 是一個檔案,為搜尋引擎列出您網站的網頁網址;HTML Sitemap 則是一個給人看的普通連結頁面。

變化時間對您代表什麼
Google 停用了幾個圖片和影片 Sitemap 標記2022 年 8 月圖片說明、標題等舊標記不再有作用;留著也無害
Bing 表示大致忽略 priority 和 changefreq,主要倚重 lastmod2023 年 2 月網頁最後修改的日期很重要;「重要性」數字不重要
Google 停用 Sitemap ping,並確認會使用 lastmod2023 年 6 月透過 Search Console 或 robots.txt 提交;ping 外掛現在對 Google 沒有任何作用
Bing 把 Sitemap 和 IndexNow 與它的 AI 回答連結起來2025 年 7 月對 Bing 和 Copilot 來說,準確的 Sitemap 加上 IndexNow 能讓變更更快被看到
Google 表示 AI 搜尋不需要特殊檔案2026 年之前Google 的 AI 摘要或 AI 模式不需要 llms.txt 或「AI Sitemap」

沒變的是格式本身。根據 Google 的 Sitemap 指南,一個 Sitemap 檔案最多仍可容納 50,000 個網址,或未壓縮時 50 MB。Google 也仍然表示,網頁約 500 個或更少、且內部連結良好的網站,可能根本不需要 Sitemap。

priority 和 changefreq 還重要嗎?

不重要。兩大搜尋引擎現在都說得很清楚。priority 是 0.0 到 1.0 之間的數字,用來替您自己的網頁排先後;changefreq 是對網頁更新頻率的猜測(「daily」「weekly」)。

"Google ignores [the priority] and [changefreq] values." (Google Search Central: Build and submit a sitemap) 譯文:「Google 會忽略 [priority] 和 [changefreq] 的值。」
"Optional sitemap tags like changefreq and priority are ignored by Bing and do not influence how your content is crawled or ranked." (Bing Webmaster Blog, July 31, 2025) 譯文:「changefreq 和 priority 等選用 Sitemap 標記會被 Bing 忽略,不會影響您的內容如何被檢索或排名。」

很多 Sitemap 外掛仍會填寫這兩項。它們沒有壞處,您可以不用理會。

為什麼 lastmod 日期現在很重要?

因為這是兩大搜尋引擎都會用來決定重新檢索哪些已知網頁的唯一標記。`lastmod` 是網頁內容最後一次修改的日期和時間。Google 在 2023 年的公告中說,它把 lastmod 當作「as a signal for scheduling crawls to URLs that we previously discovered」(安排檢索已發現網址的信號)。

重點是:日期必須真實。只有當 lastmod「consistently and verifiably」(一貫且可驗證地)準確時,Google 才會使用它,而且只算主要內容、結構化資料或連結的修改,不算換了新的版權年份。如果網頁幾年前改過,您卻說它昨天改過,Google 警告說「eventually we're not going to believe you anymore」(最終我們不會再相信您)。對於每個日期都是今天的 Sitemap,Bing 也說了同樣的話:它「may disregard them」(可能會忽略它們)。

"Avoid setting lastmod to the time your sitemap was generated unless the content on that URL was actually updated." (Bing Webmaster Blog, July 31, 2025) 譯文:「除非該網址上的內容確實更新了,否則不要把 lastmod 設為 Sitemap 產生的時間。」

Bing 還要求使用 ISO 8601 格式的完整日期和時間,例如 `2026-11-02T14:30:00+00:00`,而不只是日期。

我還能用 Sitemap ping Google 嗎?

不能。Google 在 2023 年 6 月宣布,它的 ping 網址將在六個月內停止運作,之後 ping 會收到 404(找不到)錯誤。Google 說,它收到的 ping 大多導向垃圾內容。仍在 ping 的舊外掛沒有壞處,但 Google 說「using the endpoint will also not do anything useful」(使用該端點也不會有任何用處)。

用兩種仍然有效、Google 和 Bing 都認可的方式告訴搜尋引擎您的 Sitemap 在哪裡:

  1. 在 Google Search Console 和 Bing Webmaster Tools 中提交。
  2. 在 robots.txt 檔案中加一行:`Sitemap: https://example.com/sitemap.xml`。sitemaps.org 標準說這一行「is independent of the user-agent line」(與 user-agent 行無關),所以任何讀取 robots.txt 的檢索器都能找到它。

Bing 表示,它會立即擷取提交的 Sitemap,之後「typically at least once per day」(通常至少每天一次)重新檢查。

IndexNow 是什麼?Google 用它嗎?

IndexNow 是一種免費方式,在網頁新增、修改或刪除的那一刻就通知搜尋引擎,而不用等它們重新讀取您的 Sitemap。您把網頁網址連同一個金鑰送出;IndexNow 常見問題說明,一次提交會分享給所有參與的搜尋引擎,而且「typically results in faster crawling」(通常能讓這些網頁更快被檢索)。

IndexNow.org 上列出的搜尋引擎有 Amazon、Bing、Naver、Seznam.cz、Yandex 和 Yep。Google 不在名單上,所以對 Google 來說,管道仍然是 Sitemap 和 Search Console。

Bing 在 2025 年的建議是兩者都用:完整的 Sitemap 負責涵蓋範圍,IndexNow 負責速度。動手建置之前,先查看您的網站平台設定或說明頁面裡有沒有 IndexNow 選項。

AI 搜尋引擎需要不同的 Sitemap 嗎?

Google 不需要。它的生成式 AI 功能指南把 llms.txt 檔案和其他「特殊」標記列為可以忽略的東西:

"You don't need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search (including its generative AI capabilities), as Google Search itself doesn't use them." (Google Search Central: Optimizing for generative AI features on Google Search) 譯文:「您不需要建立新的機器可讀檔案、AI 文字檔、標記或 Markdown 才能出現在 Google 搜尋中(包括其生成式 AI 功能),因為 Google 搜尋本身並不使用它們。」

Bing 也沒有提出新要求。它說 lastmod「remains a key signal」(仍是關鍵信號),決定更新多快出現在它的搜尋結果和 AI 生成的回答(包括 Copilot)中。還是同一個 Sitemap,只要保持準確。想了解如何在那裡被找到,請看 Bing Places 和 Copilot。

其他 AI 工具就沒那麼明確了。OpenAI 的檢索器頁面說明了如何在 robots.txt 中允許或封鎖它的機器人,但沒有提到 Sitemap。如果您封鎖了 AI 檢索器,Sitemap 不會讓它們回來;請看是否應該封鎖 AI 檢索器。

行動版網站需要單獨的 Sitemap 嗎?

如果您的網站是響應式的,也就是同一個網頁網址在手機和電腦上都能用,那就不需要。Google 建立索引的是「the mobile version of a site's content」(網站內容的行動版本),並推薦響應式設計,也就是在所有裝置上「serves the same HTML code on the same URL」(在同一網址提供相同的 HTML 程式碼)。一個 Sitemap 就能涵蓋兩者。

我還需要 HTML Sitemap 嗎?

這方面沒有變化。HTML Sitemap 就是一個普通的連結頁面,而 Google 透過連結「to find new pages to crawl」(來找到要檢索的新網頁)。在選單清楚的小網站上,它作用不大。在大網站上,訪客和檢索器可能會漏掉層級很深的網頁,這時它會有幫助;不過好的選單和相關網頁之間的連結也能達到同樣效果。

範例

一家用 WordPress 的水電工,40 個網頁

SEO 外掛把每個網頁的 priority 都設成 0.8,並在每次儲存時 ping Google。這兩樣現在都沒有作用。解決方法只需確認一件事:Sitemap 已在 Search Console 和 Bing Webmaster Tools 中提交,而且 lastmod 日期只在網頁被編輯時才改變。

一家每晚重建網站的牙科診所

架站工具每晚都替全部 120 個網頁蓋上當天的日期。Google 和 Bing 可能會不再相信這些日期。把設定改成讓 lastmod 使用每個網頁真實的編輯日期後,修改過的價格頁就有公平的機會被快速重新檢索。

一位希望新作品出現在 Copilot 中的承包商

他們在 SEO 外掛中開啟 IndexNow 選項,並保持 lastmod 準確。每個新專案頁面發布當天,Bing 就會收到通知。對 Google 來說,除了 Sitemap 之外不需要做任何額外的事。

常見問題

我應該從 Sitemap 中刪除 priority 和 changefreq 嗎?

可以刪,但不是必須。Google 會忽略它們,Bing 也說它們不影響檢索或排名,所以留著沒有任何代價。

Sitemap 能幫我排名更高嗎?

不能。Sitemap 幫助搜尋引擎找到並重新檢查網頁;Google 把提交的 Sitemap 稱為一種提示。網頁能否獲得排名取決於網頁本身。

AI 搜尋需要 llms.txt 檔案嗎?

Google 不需要,它表示自己的搜尋不使用 llms.txt 檔案。在 Google 這邊,有這個檔案既沒有幫助也沒有壞處。

我的 Sitemap 裡有些網頁沒有被編入索引。是 Sitemap 壞了嗎?

通常不是。被列入 Sitemap 並不保證會被編入索引;請看已檢索或已發現,但目前尚未建立索引。

您的情況不同?

繼續閱讀

下一篇Reddit 用 robots.txt 封鎖爬蟲:對您的網站代表什麼Reddit 在 2024 年用 robots.txt 封鎖了什麼,為什麼 Bing 失去了 Reddit 而 Google 沒有,以及小型企業應該在自己網站上做的 robots.txt 檢查。

自己動手

可檢索性檢查清單:讓 Google 能造訪到每個頁面小型企業網站的可檢索性檢查清單:用免費工具找出孤立頁面、robots.txt 封鎖、失效連結、重新導向鏈和伺服器錯誤。

問我們一個問題

一句話就夠了。我們會以電子郵件回覆。

出處

  1. Google Search Central: Build and submit a sitemap
  2. Google Search Central: Learn about sitemaps
  3. Google Search Central Blog: Sitemaps ping endpoint is going away (June 2023)
  4. Google Search Central Blog: Spring cleaning, some sitemap extension tags are going away (May 2022)
  5. Google Search Central: Optimizing for generative AI features on Google Search
  6. Google Search Central: Mobile site and mobile-first indexing best practices
  7. Google Search Central: Link best practices for Google
  8. Bing Webmaster Blog: Keeping content discoverable with sitemaps in AI powered search (July 31, 2025)
  9. Bing Webmaster Blog: The importance of setting the lastmod tag in your sitemap (February 2023)
  10. IndexNow: FAQ
  11. sitemaps.org: Sitemaps XML format
  12. OpenAI: Overview of OpenAI crawlers