I have a WordPress site which is having some major conflicting AMP issues.
Issue 1) Back in December 2022 I noticed that my site wasn’t showing my article content when accessing them on the Google News application for both iOS or Android, nor was it working when using Chrome via the Google News page. Simply instead a page with a blank screen (see attached).
Through trial and error, I recently found that the AMP plugin was conflicting with Yoast SEO plugin, so I disabled Yoast and have since been using SEO Press (https://www.seopress.org)
The problem comes back after a day or so having the SEO Press plugin activated, which directs users on the Google News app to blank pages ending in: amp_js_v=0.1#webview=1&cap=swipe
If I add this into the browser URL “?amp=1&” before the above - the page loads. Obviously it should really only be directing them to just ending with /amp=1 (i think). Somewhere along the line there is a big problem in redirects causing these white screens.
Issue 2) My pages aren’t showing in Google Search Console, simply showing 0 non valid, 0 valid – suggesting that GSC doesn’t recognise the pages as AMP.
Issue 3)
Using the AMP validator, I get many errors - e.g.
The mandatory attribute '⚡' is missing in tag 'html'. Learn more. The parent tag of tag 'html' is '$root', but it can only be '!doctype'. Learn more. Tag or text which is only allowed inside the body section found outside of the body section. The mandatory tag 'html !doctype' is missing or incorrect. Learn more. The mandatory tag 'link rel=canonical' is missing or incorrect. Learn more. The mandatory tag 'meta charset=utf-8' is missing or incorrect. Learn more. The mandatory tag 'meta name=viewport' is missing or incorrect. Learn more.