After you’ve created AMP content, here are
some ways to validate your AMP content:
- Use the AMP Test Tool to
ensure that your AMP content is valid. - For applicable AMP content types, use the Rich Results Test to verify that your structured data parses properly.
- Use the AMP status report
to monitor the performance of all AMP pages on your site.
Fix common AMP errors
If your AMP page doesn’t appear in Google Search, try the following steps:
- Make your page
discoverable by linking your pages.- Did you add
rel="amphtml"to the canonical page? - Did you add
rel="amphtml"to other non-AMP pages (for example, mobile)? - Did you add
rel="canonical"to the AMP page?
- Did you add
- Follow the Google Search guidelines for AMP pages.
- Make your AMP content accessible to Googlebot:
- Edit your site’s robots.txt to allow Googlebot to crawl the canonical page, AMP page, and
links in the structured data (if applicable). - Remove all robots
metatags andX-Robots-TagHTTP headers from your
canonical and AMP content. For more information, see Robotsmetatag andX-Robots-TagHTTP header specifications.
- Edit your site’s robots.txt to allow Googlebot to crawl the canonical page, AMP page, and
- Ensure that your structured data follows the structured data guidelines for
your page and feature type. For more information about structured data
requirements for AMP, see About AMP on Google Search.
If your AMP page still isn’t appearing in Google Search after completing the
steps, here are some additional reasons:
- Certain Google Search features might not be available in your country.
- Your site might not be indexed yet. For more information about crawling and indexing, see the Crawling and indexing FAQ.
Ресурсы
To debug validation errors, see the following ampproject.org resources:
Как мы это применяем
AMP validation is binary: an invalid page simply does not get the AMP treatment. We add validation to the client’s build pipeline so breakage is caught at deploy rather than in a monthly report.
Связанные услуги