控管您與 Google 分享的資訊
Google 支援多種方式,可讓網站擁有者控管要在 Google 搜尋結果中顯示的內容。雖然大多數人都著重讓自己的網頁編入索引,但有時最重要的事項反而是:避免在 Google 搜尋中顯示某些內容。您可能會基於下列幾種原因而希望對 Google 隱藏特定內容:
-
為了限制資料:如果您的網站代管了資料,而您只想讓已進入網站的使用者看到這類資料,可以禁止 Google 檢索這類資料,避免資料出現在搜尋結果中。
提醒您,您網站上發布的部分檔案可能含有中繼資料,會顯示在 Google 搜尋中。進一步瞭解如何避免 Google 搜尋顯示受遮蓋的資訊。
-
如何隱藏對目標對象而言價值較低的內容:您的網站可能含有品質較低,因此不宜顯示在 Google 搜尋的內容。舉例來說,如果您的網站允許使用者建立內容,其中部分內容可能品質低劣,甚至是垃圾內容。如果允許這類內容編入索引,可能會對您網站在 Google 搜尋結果中的排名造成負面影響。
- 讓 Google 只檢索重要內容:如果您的網站有大量重複的內容,或是網站規模極大 (例如有超過幾千個網址),但其中部分網頁的內容較不重要,建議您封鎖重複或較不重要的網頁,讓 Google 著重檢索較重要的內容。
如何封鎖內容
如果想禁止 Google 顯示特定內容,以下是幾種主要方法:
方法 |
從您的網站移除內容
|
適用範圍:所有內容類型
如要確保特定內容不會出現在 Google 搜尋和網際網路上的任何位置,最佳做法是將該內容從網站中移除。
|
使用密碼保護檔案
|
適用範圍:所有內容類型
如果您的網站中有機密或私人內容,您必須使用密碼保護內容,確保只有獲得授權的使用者才能存取。這麼做也能防止內容顯示在 Google 搜尋中,如果已在搜尋結果中顯示,則 Google 會從搜尋結果中移除該內容。
|
noindex 規則 |
適用範圍:所有內容類型
noindex robots meta 標記是一種規則,可指示 Google 不要為您的內容建立索引,或顯示在 Google 搜尋結果中。使用者仍可經由其他網頁連到您的內容,或是直接輸入連結來造訪網頁,但該內容不會顯示在 Google 搜尋結果中。
|
|
適用範圍:圖片和影片
Google 只會為 Googlebot 獲准檢索的圖片和影片建立索引。如要禁止 Googlebot 存取您的媒體檔案,請使用 robots.txt 規則封鎖檔案。
|
選擇不顯示在特定 Google 資源中
|
適用範圍:網頁
您可以指示 Google 不要將網站內容納入特定 Google 資源,例如 Google 購物、Google Hotels 和度假民宿指南。
|
從 Google 服務中移除現有內容
如果您網站上代管的內容已經出現在 Google 中,您可以要求移除這類搜尋結果。瞭解如何從 Google 搜尋結果中移除您網站上代管的網頁。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-07 (世界標準時間)。
[null,null,["上次更新時間:2025-03-07 (世界標準時間)。"],[[["Control the visibility of your website's content in Google Search results to manage data privacy, prioritize valuable content, and improve search ranking."],["Block content from Google Search using methods like password protection, robots.txt, and the noindex rule, depending on the content type."],["Remove existing content from Google Search through removal requests to maintain an accurate and up-to-date online presence."],["Google offers tools and options for website owners to manage how their content is indexed and displayed across various Google properties."]]],["Site owners can control Google's search results by preventing specific content from appearing. Reasons include restricting data, hiding low-value content, and focusing Google on important content. Methods to block content include removing it from the site, password-protecting files, using the `noindex` rule, disallowing crawling via `robots.txt`, or opting out of specific Google properties. For content already indexed, site owners can request its removal from Google's search results. Site owners can opt-out of the page annotation feature.\n"]]