Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Cải thiện nội dung AMP cho Google Tìm kiếm
Bạn có thể cải thiện nội dung AMP của mình cho Google Tìm kiếm bằng cách tạo một trang AMP cơ bản, thêm dữ liệu có cấu trúc, theo dõi trang đó và thực hành qua lớp học lập trình.
Tạo một trang AMP cơ bản
-
Tạo trang AMP đầu tiên của bạn.
-
Tuân thủ nguyên tắc của Google Tìm kiếm đối với các trang AMP.
-
Giúp Google dễ dàng tìm thấy nội dung của bạn bằng cách liên kết đến các trang đó.
Để thu thập dữ liệu và lập chỉ mục, Google Tìm kiếm yêu cầu mỗi trang AMP phải liên kết đến một trang chính tắc. Trang chính tắc có thể là chính trang AMP đó hoặc phiên bản không phải AMP của trang đó. Để biết thêm thông tin, hãy xem bài đăng Có gì trong một URL AMP?
trên blog dành cho nhà phát triển.
-
Đảm bảo rằng người dùng có thể trải nghiệm cùng nội dung và thực hiện cùng thao tác trên các trang AMP giống như trên trang chính tắc tương ứng (khi có thể).
-
Sử dụng Công cụ kiểm tra AMP để đảm bảo trang của bạn đáp ứng các yêu cầu của Google Tìm kiếm đối với tài liệu HTML AMP hợp lệ.
- Sử dụng cùng mã đánh dấu dữ liệu có cấu trúc trên cả trang chính tắc và trang AMP.
- Áp dụng các phương pháp hay nhất về nội dung:
- Đảm bảo tệp robots.txt của bạn không chặn trang AMP.
Hãy dùng các thẻ
meta
robots, data-nosnippet
và X-Robots-Tag
khi thích hợp.
- Tuân thủ các nguyên tắc về hreflang đối với các URL theo ngôn ngữ và khu vực. Để xem ví dụ cụ thể về nội dung AMP, hãy xem bài viết về Quốc tế hoá.
Tạo trang AMP bằng CMS
Nếu phân phát nội dung trên web thông qua một Hệ thống quản lý nội dung (CMS), bạn có thể dùng một trình bổ trợ CMS hiện có (chẳng hạn như trình bổ trợ cho WordPress, Drupal hoặc Joomla) hoặc triển khai chức năng tuỳ chỉnh trong CMS của bạn để tạo nội dung AMP. Nếu bạn có ý định tuỳ chỉnh CMS của mình, hãy làm theo các nguyên tắc sau bên cạnh việc Tạo một trang AMP cơ bản:
- Tìm vị trí phù hợp cho các tệp HTML AMP trong lược đồ đường dẫn URL của trang web. Nếu đang tạo một trang AMP ngoài một trang chính tắc không phải AMP, bạn nên chọn một trong những lược đồ URL sau:
- https://www.example.com/myarticle/amp
- https://www.example.com/myarticle.amp.html
- Phát triển một bản mẫu cho mã đánh dấu dữ liệu có cấu trúc. Dưới đây là một số nguyên tắc:
- Tạo bản mẫu dựa trên các yêu cầu đối với loại nội dung bạn đang xuất bản.
- Tham khảo các ví dụ về siêu dữ liệu của Dự án AMP để xem các bản mẫu cho nội dung công thức nấu ăn, bài viết, video và bài đánh giá.
Tối ưu hoá cho kết quả nhiều định dạng
Bạn có thể dùng dữ liệu có cấu trúc để tăng cường cách thức trang của bạn xuất hiện trong kết quả tìm kiếm. Các trang AMP chứa dữ liệu có cấu trúc có thể xuất hiện dưới dạng kết quả nhiều định dạng, như băng chuyền Tin bài hàng đầu hoặc băng chuyền theo loại nội dung.
- Triển khai dữ liệu có cấu trúc.
- Xác minh rằng dữ liệu có cấu trúc của bạn phân tích cú pháp chính xác bằng cách dùng công cụ Kiểm tra kết quả nhiều định dạng.
- Xác minh trang AMP hoàn chỉnh cho Google Tìm kiếm bằng cách sử dụng Công cụ kiểm tra AMP.
Theo dõi và cải thiện trang
Bạn nên kiểm tra định kỳ tất cả các trang AMP của mình bằng cách theo dõi các báo cáo sau:
Nếu bạn cần cập nhật ngay Bộ nhớ đệm AMP của Google để phân phát phiên bản mới nhất của nội dung, hãy xem phần Cập nhật nội dung AMP.
Nếu bạn cần ngừng phân phát các trang AMP của bạn trong kết quả của Google Tìm kiếm, hãy làm theo các bước trong phần Xoá nội dung AMP khỏi kết quả của Google Tìm kiếm.
Thực hành qua lớp học lập trình
Dưới đây là một số lớp học lập trình giúp bạn thực hành hoạt động xây dựng trang AMP cho Google Tìm kiếm:
Tài nguyên
Đến lúc này, khi bạn đã tạo được trang AMP của mình, hãy tham khảo một số tài nguyên sau đây để tìm hiểu thêm về các sản phẩm tích hợp khác của Google dành cho AMP:
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-04 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-04 UTC."],[[["\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."]]