透過集合功能整理內容
你可以依據偏好儲存及分類內容。
改善 Google 搜尋中的 AMP 內容
如要改善您在 Google 搜尋結果中顯示的 AMP 內容,可以建立基本的 AMP 網頁、新增結構化資料及監控網頁,也可以利用程式碼研究室多做練習。
建立基本的 AMP 網頁
-
建立您的第一個 AMP 網頁。
-
遵循 Google 搜尋的 AMP 網頁指南。
-
連結網頁以便 Google 能找到您的內容。
AMP 網頁必須連結至標準網頁,Google 搜尋才能進行檢索和建立索引。標準網頁可以是 AMP 網頁本身,或者非 AMP 版本的網頁。詳情請參閱 AMP 網址包含什麼?
這篇開發人員網誌文章。
-
確保 AMP 網頁提供的內容以及能讓使用者執行的動作盡可能與對應的標準網頁相同。
-
使用 AMP 測試工具,確保您的網頁符合 Google 搜尋對於有效 AMP HTML 文件的規定。
-
在標準網頁及 AMP 網頁皆採用相同的結構化資料標記。
-
採取常見的內容最佳做法:
- 確保 robots.txt 檔案並未封鎖 AMP 網頁。
視情況使用 robots
meta
標記、data-nosnippet
和 X-Robots-Tag
。
-
遵循語言和地區網址的 hreflang 相關規範。如需 AMP 的具體範例,請參閱國際化一文。
使用 CMS 建立 AMP 網頁
如果您透過內容管理系統 (CMS) 提供網頁內容,請使用 WordPress、Drupal 或 Joomla 等 CMS 的現有外掛程式,或在您的 CMS 中導入自訂功能來產生 AMP 內容。如果您打算自訂 CMS,除了參閱建立基本的 AMP 網頁一節,也請您遵循下列指示說明:
- 思考如何根據您網站的網址路徑配置來調整 AMP HTML 檔案。如果您已經有標準的非 AMP 網頁,正在製作對應的 AMP 網頁,那麼我們建議選用以下任一種網址配置:
- https://www.example.com/myarticle/amp
- https://www.example.com/myarticle.amp.html
- 開發結構化資料標記範本,以下提供一些準則:
- 在建構範本時,請遵循您要發布內容類型的適用規範。
- 如需食譜、文章、影片和評論等範例範本,請參閱 AMP 專案中繼資料範例。
針對複合式搜尋結果進行最佳化
您可以採用結構化資料,改善網頁在搜尋結果中呈現外觀。具有結構化資料的 AMP 網頁能夠以複合式搜尋結果的形式顯示,例如焦點新聞輪轉介面或代管輪轉介面。
- 導入結構化資料。
- 使用複合式搜尋結果測試驗證結構化資料是否正確剖析。
- 使用 AMP 測試工具來驗證 AMP 能在 Google 搜尋結果中正確運作。
監控和改善您的網頁
請監控下列報表,定期掌握您所有 AMP 網頁的運作情況:
如果需要立即更新 Google AMP 快取來提供最新版內容,請參閱如何更新 AMP 內容。
如果需要停止在 Google 搜尋結果中提供您的 AMP 網頁,請按照從 Google 搜尋結果移除 AMP一文的指示操作。
利用程式碼研究室進行練習
以下程式碼研究室能讓您練習如何建構適用於 Google 搜尋的 AMP 網頁:
資源
現在您已經建立了 AMP 網頁,接著為您提供相關資源,讓您進一步瞭解其他將 AMP 與 Google 產品整合的方式。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-04 (世界標準時間)。
[null,null,["上次更新時間:2025-08-04 (世界標準時間)。"],[[["\u003cp\u003eEnhance your website's visibility on Google Search by creating AMP pages that load quickly and provide a seamless user experience.\u003c/p\u003e\n"],["\u003cp\u003eOptimize your AMP pages for rich results using structured data to improve their appearance and prominence in search results.\u003c/p\u003e\n"],["\u003cp\u003eRegularly monitor your AMP pages using Google Search Console reports to identify and resolve any issues, ensuring optimal performance.\u003c/p\u003e\n"],["\u003cp\u003eLeverage codelabs and resources to learn best practices and further enhance your AMP pages with advanced features and integrations.\u003c/p\u003e\n"],["\u003cp\u003eExplore Google's product integrations for AMP to monetize your content, track user engagement, and optimize marketing initiatives.\u003c/p\u003e\n"]]],["To enhance AMP content for Google Search, create a basic AMP page, ensuring it links to a canonical page and uses consistent structured data. Optimize for rich results by implementing structured data and validating it with testing tools. Monitor pages for errors with status reports. Practice building AMP pages using codelabs. Ensure content is accessible to users and search engines. Use resources to learn how to integrate AMP with ads, monetization, and analytics.\n"],null,["# Enhance AMP Content for Google Search | Google Search Central\n\nEnhance AMP content for Google Search\n=====================================\n\n\nYou can enhance your [AMP](/amp) content for Google\nSearch by creating a basic AMP page, adding structured data, monitoring your pages, and\npracticing with codelabs.\n\nCreate a basic AMP page\n-----------------------\n\n1. [Create your first AMP page](https://www.ampproject.org/docs/get_started/create).\n2. Follow the [Google Search guidelines for AMP pages](/search/docs/crawling-indexing/amp).\n3. Make your content [discoverable by linking your pages](https://www.ampproject.org/docs/guides/discovery). For crawling and indexing, Google Search requires that an AMP page links to a [canonical page](/search/docs/crawling-indexing/consolidate-duplicate-urls). The canonical page can be either a non-AMP version of the page or it can be the AMP page itself. For more information, see the [What's in an AMP URL?](https://developers.googleblog.com/2017/02/whats-in-amp-url.html) developer blog post.\n4. Ensure that users can experience the same content and complete the same actions on AMP pages as on the corresponding canonical pages, where possible.\n5. Use the [AMP Test Tool](https://search.google.com/test/amp) to ensure that your page meets the Google Search requirements for a valid AMP HTML document.\n6. Use the same [structured data markup](/search/docs/appearance/structured-data/intro-structured-data) across both the canonical and AMP pages.\n7. Apply common content best practices:\n 1. Make sure that your [robots.txt file](/search/docs/crawling-indexing/robots/robots_txt) doesn't block your AMP page. Use [robots `meta` tags,\n `data-nosnippet`, and `X-Robots-Tag`](/search/docs/crawling-indexing/robots-meta-tag) where appropriate.\n 2. Follow the guidelines for [hreflang for language and regional URLs](/search/docs/specialty/international/localized-versions). For AMP specific examples, see [Internationalization](https://amp.dev/documentation/examples/guides/internationalization/).\n\nCreate an AMP page using a CMS\n------------------------------\n\nIf you serve your web content through a Content Management System (CMS), you can\nuse an existing CMS plugin (such as for [WordPress](https://wordpress.org/plugins/amp/), [Drupal](https://www.drupal.org/project/amp), or Joomla) or implement\ncustom functionality in your CMS to generate AMP content. If you intend to\ncustomize your CMS, follow these guidelines in addition to [Create a basic AMP page](#create-basic-amp):\n\n- Consider how AMP HTML files will fit your site's URL path scheme. If you're generating an AMP page in addition to a canonical non-AMP page, we recommend choosing one of the following URL schemes:\n - https://www.example.com/myarticle/amp\n - https://www.example.com/myarticle.amp.html\n- Develop a structured data markup template. Here are some guidelines:\n - Construct the template based on the requirements for the type of content you are publishing.\n - Refer to [AMP Project metadata examples](https://github.com/ampproject/amphtml/tree/main/examples/metadata-examples) for sample templates for recipes, articles, videos, and reviews.\n\nOptimize for rich results\n-------------------------\n\n\nYou can use structured data to enhance the appearance of your page in search results. AMP pages with\nstructured data can appear as a [rich result](/search/docs/appearance/structured-data/search-gallery),\nlike the Top stories carousel or host carousel.\n\n1. [Implement structured data](/search/docs/appearance/structured-data/intro-structured-data).\n2. Verify that your structured data parses correctly by using the [Rich Results Test](https://search.google.com/test/rich-results).\n3. Verify your complete AMP for Google Search by using the [AMP Test Tool](https://search.google.com/test/amp).\n\nMonitor and improve your pages\n------------------------------\n\n\nPeriodically check all of your AMP pages by monitoring the following reports:\n\n- [AMP status report](https://search.google.com/search-console/amp): Catch site templating and other site-wide implementation issues that can affect large numbers of your AMP pages.\n- [Rich result status reports](https://support.google.com/webmasters/answer/7552505): Identify problems with your structured data and opportunities to provide additional structured data.\n\n\nIf you need to immediately update the Google AMP Cache to serve the latest\nversion of your content, refer to [Update AMP\nContent](/amp/cache/update-ping).\n\nIf you need to stop serving your AMP pages from Google Search results, follow [Remove AMP from Google Search results](/search/docs/crawling-indexing/amp/remove-amp).\n\nPractice with codelabs\n----------------------\n\n\nHere are some codelabs to practice building AMP pages for Google Search:\n\n- Learn how to build AMP pages with the [AMP\n foundations codelab.](https://codelabs.developers.google.com/codelabs/accelerated-mobile-pages-foundations/)\n- Add features like analytics, video embedding, social media integration, and image carousels to your AMP pages with the [Advanced concepts codelab.](https://codelabs.developers.google.com/codelabs/accelerated-mobile-pages-advanced/#0)\n- Build a [beautiful, interactive, and canonical AMP pages codelab](/codelabs/amp-beautiful-interactive-canonical#0) that incorporates many AMP features and extended components.\n- Use AMP components to build a [PWA](/web/progressive-web-apps) experience with the [AMP+PWA codelab](https://amp.dev/documentation/guides-and-tutorials/integrate/integrate-with-apps/).\n\nResources\n---------\n\nNow that you've created your AMP pages, here are some resources for learning more about other Google\nproduct integrations for AMP:\n\n- Learn how to [Create AMP ad\n units.](https://support.google.com/adsense/answer/7183212)\n- Learn how to [monetize your AMP pages](https://support.google.com/dfp_premium/topic/7178122).\n- Use [Google Tag\n Manager](https://support.google.com/tagmanager/answer/9205783) to optimize and measure marketing initiatives.\n- Add [analytics to your AMP pages](/analytics/devguides/collection/amp-analytics) to track user interactions with built-in Google Analytics support."]]