透過集合功能整理內容
你可以依據偏好儲存及分類內容。
控管您與 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-08-04 (世界標準時間)。
[null,null,["上次更新時間:2025-08-04 (世界標準時間)。"],[[["\u003cp\u003eControl the visibility of your website's content in Google Search results to manage data privacy, prioritize valuable content, and improve search ranking.\u003c/p\u003e\n"],["\u003cp\u003eBlock content from Google Search using methods like password protection, robots.txt, and the noindex rule, depending on the content type.\u003c/p\u003e\n"],["\u003cp\u003eRemove existing content from Google Search through removal requests to maintain an accurate and up-to-date online presence.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers tools and options for website owners to manage how their content is indexed and displayed across various Google properties.\u003c/p\u003e\n"]]],["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"],null,["# Control the Content You Share on Search | Google Search Central\n\nControl what you share with Google\n==================================\n\n\nGoogle supports a variety of ways that allows site owners control what shows up in Google's\nsearch results. While most people focus on getting their pages indexed, sometimes it's\nimportant to do the opposite: prevent content from appearing in Search. There are a few\nreasons you might want to hide content from Google:\n\n- **To restrict data** : You might have data hosted on your site that you want to show only to users who are already on your site. You can block Google from crawling such data so it doesn't show up in search results. \n Also keep in mind that certain files published on your site may have metadata that can show up in Search. [Learn more about keeping redacted information out of Search](/search/docs/crawling-indexing/keep-redacted-information-out).\n- **To hide content of less value to your audience** : Your website might have low quality content that shouldn't show up in Search. For example, if your website allows users to create content, some of that content might be [low quality or even spam](/search/docs/essentials/spam-policies#user-generated-spam). Allowing indexing of such content may have a negative effect on your site's ranking in Google's search results.\n- **To have Google focus on your important content**: If you have a very large site (over hundreds of thousands of URLs) and pages with less important content, or if you have a lot of duplicate content, you might want to prevent Google from crawling the duplicate or less important pages in order to focus on your more important content.\n\nHow to block content\n--------------------\n\nHere are the main ways to block content from appearing in Google:\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### Remove the content from your site | **Applicable: all content types** Removing content from your site is the best way to ensure that it won't appear in Google Search and anywhere else on the Internet. |\n| ### Password-protect your files | **Applicable: all content types** If you have confidential or private content on your site, you need to password protect it to ensure only authorized users can access it. This will also prevent that content from appearing in Google Search, or if it already appears, it will eventually remove that content from our search results. |\n| [`noindex` rule](/search/docs/crawling-indexing/block-indexing) | **Applicable: all content types** The `noindex` robots `meta` tag is a rule that tells Google not to index your content or let it appear in Google search results. Your content can still be linked to and visited through other web pages, or directly visited by users with a link, but the content will not appear in Google search results. |\n| ### Disallow crawling with [robots.txt](/search/docs/crawling-indexing/prevent-images-on-your-page#for-non-emergency-image-removal) | **Applicable: images and video** Google only indexes images and videos that Googlebot is allowed to crawl. To prevent Googlebot from accessing your media files, use [robots.txt rules to block the files](/search/docs/crawling-indexing/prevent-images-on-your-page#for-non-emergency-image-removal). |\n| [Opt out of specific Google properties](https://support.google.com/webmasters/answer/3035947) | **Applicable: web pages** You can tell Google not to include content from your site in specific Google properties, such as [Google Shopping](https://www.google.com/shopping), [Google Hotels](https://www.google.com/travel/hotels), and vacation rentals. |\n\nRemove existing content from Google\n-----------------------------------\n\n\nIf the content hosted on your site is already appearing in Google, you can request the\nremoval of those search results. Learn how to\n[remove a page hosted on your site from Google](/search/docs/crawling-indexing/remove-information)."]]