AMP · AMP page

AMP page missing or invalid viewport

This AMP page has no meta viewport tag. AMP requires one, and without it phones show the page at desktop width, zoomed out.

How this page is built

This page is an AMP page. Its canonical points at a non-AMP version, which names this page in a rel=amphtml link. Its head has no <meta name="viewport"> tag. Everything else on the page is valid AMP.

On a phone, the page is laid out for a wide screen and then shrunk to fit.

Why it matters

AMP is built for mobile, so every AMP page must include a viewport tag, usually width=device-width. Without it the page fails validation and is not served as AMP. Phones also lay it out at a desktop width and shrink it, so text is tiny and readers must zoom.

How to check it

Run the page through the AMP validator (the AMP Test in Search Console, the validator at validator.ampproject.org or the amphtml-validator package), or add #development=1 to the URL and open the browser console. Crawl tools that check AMP report validation errors per page.

How to fix it

Add <meta name="viewport" content="width=device-width"> to the head. Google stopped requiring AMP for Top Stories in 2021, so many sites no longer need AMP at all.

Back to all tests