告別偏好網域設定功能
2019 年 6 月 18 日,星期二
隨著遷移至新版 Search Console 服務的進展,我們將告別一項設定功能:偏好網域。
同個網站透過多個網址提供相同內容是很常見的情況。舉例來說,https://example.com/
的內容可能與 https://www.example.com/index.html
相同。為了簡化作業,我們的系統辨識出這類網址時,會挑選一個網址做為搜尋服務的「標準」網址。如果您有具體想指定的網頁,有多種管道可以告訴我們您的偏好 (請參閱下一段說明)。如果沒有特別偏好,我們會選擇最適合的選項。請注意,功能淘汰後,我們將不再使用任何現有的 Search Console 偏好網域設定。
您可以在整合重複的網址說明中心文章中找到關於如何告知我們您的偏好設定的詳細說明。以下是您可以使用的部分選項:
-
在 HTML 網頁中使用
rel="canonical"
連結標記
-
使用
rel="canonical"
HTTP 標頭
-
使用 Sitemap
-
針對已停用的網址使用
301
重新導向
您可以透過 Twitter 或論壇向我們提供意見。
發文者:搜尋服務代表 Daniel Waisberg
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
[null,null,[],[[["Google Search Console is retiring the preferred domain setting as part of its migration to a new experience."],["Google will automatically select a canonical URL for websites with duplicate content on multiple URLs, but webmasters can still indicate their preference using methods like rel=\"canonical\", sitemaps, or 301 redirects."],["Existing preferred domain configurations in Search Console will no longer be used after this change."],["Detailed information about managing canonical URLs can be found in the \"Consolidate duplicate URLs\" help center article."],["Feedback on this change is welcomed through Twitter or the Google Search Console forum."]]],["The \"preferred domain\" setting in the Search Console is being removed. Websites with duplicate content on multiple URLs will have one URL chosen as the \"canonical\" for search. Users can still indicate their preferred URL using `rel=\"canonical\"` link tags or HTTP headers, sitemaps, or `301` redirects. If no preference is indicated, the system will automatically select the best option. The change means any current preferred domain configurations will be ignored. Feedback can be submitted through Twitter or the forum.\n"]]