AMP
AMP is an open-source library that is designed to produce fast-loading pages that are optimized for mobile. For certain mobile search queries, Google will serve pages directly from the Google AMP cache (i.e. cached pages hosted on Google's servers).
The benefits of AMP
The most common example you will see in the wild is AMP pages used for news stories, which appear in an AMP carousel box above the traditional search results. You can see the AMP ⚡ symbol in the top right hand corner, and clicking through to any of these results will take you to the cached AMP page on Google's servers (you will see the Google domain in your browser).
For search queries that generate AMP results, such as news, this gives you a chance to jump ahead of the pack into a position with high CTR.
AMP requirements
In order to be considered valid, AMP documents MUST:
- start with the doctype <!doctype html>.
- contain a top-level <html ⚡> tag (<html amp> is accepted as well).
- contain <head> and <body> tags.
- contain a <link rel="canonical"> tag inside their head that points to the regular HTML version of the AMP HTML document or to itself if no such HTML version exists.
- contain a <meta charset="utf-8"> tag as the first child of their head tag.
- contain a <meta name="viewport" content="width=device-width"> tag inside their head tag. It's also recommended to include minimum-scale=1 and initial-scale=1.
- contain a <script async src="https://cdn.ampproject.org/v0.js"></script> tag inside their head tag.
- contain the AMP boilerplate code (head > style[amp-boilerplate] and noscript > style[amp-boilerplate]) in their head tag.
If any of these mandatory elements are missing or misconfigured, the AMP HTML will be considered invalid, and may not show up in mobile search results.
AMP Hints
All of the AMP Hints are Issues, which means they represent errors or problems that need to be fixed. They are additionally classified in terms of their importance - this should be taken into account when prioritizing implementation work, along with the number and type of URLs affected.
Importance: Critical
These Hints require immediate attention, as the issue may have a serious impact upon crawling, indexing or ranking.
- AMP Page has validation errors
- AMP Page URL has canonical URL which is Error (5XX)
- AMP Page URL has canonical URL which is Forbidden (403)
- AMP Page URL has canonical URL which is Not Found (4XX)
- AMP Page URL is Error (5XX)
- AMP Page URL is Forbidden (403)
- AMP Page URL is Not Found (4XX)
Importance: High
These Hints are very important, and definitely warrant attention.
- AMP Page URL has canonical URL which is canonicalized
- AMP Page URL has canonical URL which is disallowed
- AMP Page URL has canonical URL which is noindex
- AMP Page URL has canonical URL which is not indexable
- AMP Page URL has canonical URL which is Redirect (3XX)
- AMP Page URL is disallowed
- AMP Page URL is missing a canonical tag
- AMP Page URL is missing the <html amp> tag
- AMP Page URL is noindex
- AMP Page URL is Redirect (3XX)
- amphtml link only found in rendered DOM
- AMP Page URL loops