為自動調整語言代碼的網頁進行檢索及建立索引
2015年1月29日星期四
原文:
Crawling and indexing of locale-adaptive pages
作者:
搜尋基礎架構部門軟體工程師 Qin Yin 和網站管理員趨勢分析師
Pierre Far
自動調整語言代碼的網頁可根據使用者的語言或系統偵測到的地理位置變更網頁內容。由於在預設狀態下,Googlebot 在要求網頁時並不會設定 Accept-Language HTTP 要求標頭,而是直接使用美國的 IP 顯示位址,所以對於自動調整語言代碼的網頁,系統可能無法為部分版本的內容建立完整索引。
現在我們採用了可識別語言代碼的新版 Googlebot 檢索設定,當系統偵測到網頁會根據要求的語言和所偵測到的位置調整內容時,就會套用新的檢索設定。這些設定包括:
-
檢索根據地理位置發佈的內容:
除了繼續使用美國的 IP 顯示位址,Googlebot 也會開始使用位於美國以外地區的 IP 位址。
-
檢索不同語言版本的內容:
Googlebot 會開始使用含有 Accept-Language HTTP 標頭的要求檢索網頁。
系統偵測到自動調整語言代碼的網頁時,會自動啟用新版檢索設定,因此您無需調整 CMS 或伺服器的設定,檢索方式便會自動改變,網站在 Google 搜尋結果中顯示的內容也會隨之不同。
請注意,推出新版設定後,我們
仍然
建議您按照建議做法,讓不同語言代碼的網頁版本分別使用含有
rel=alternate hreflang 註解
的獨立網址。我們會繼續支援並建議您為不同網頁版本使用獨立網址,因為這仍是讓使用者能與您的內容互動並加以分享的最佳做法,同時也能建立最完整的索引,進而提升所有版本內容的搜尋排名。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2015-01-01 (世界標準時間)。
[null,null,["上次更新時間:2015-01-01 (世界標準時間)。"],[[["Googlebot is introducing new locale-aware crawl configurations, including geo-distributed and language-dependent crawling, to better index locale-adaptive pages."],["These changes will automatically enhance crawling and indexing of locale-adaptive pages, leading to potential changes in Google search results."],["While these updates improve locale-adaptive page handling, using separate URLs with `rel=alternate hreflang` annotations remains the best practice for internationalization."],["Googlebot's new crawling approach incorporates IP addresses outside the USA and utilizes the `Accept-Language` HTTP header to better understand content variations."],["Users might observe changes in Googlebot's crawling behavior and their site's appearance in search results without manual adjustments to CMS or server settings."]]],["Googlebot is implementing new crawl configurations for locale-adaptive pages, which modify content based on language or location. These include geo-distributed crawling, utilizing IPs from outside the USA, and language-dependent crawling, using an `Accept-Language` HTTP header. These changes are automatic for detected locale-adaptive pages and may alter how Google crawls and displays the site. Using separate URLs with `rel=alternate hreflang` annotations for each locale remains the best practice.\n"]]