• Looking for help in narrowing down what the conflicts are with validating my AMP pages
    http://mauitime.com/news/science-and-environment/new-report-examines-undocumented-ivory-market-in-hawaii/amp

    1.
    The relative URL ‘//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic|Open+Sans:400,700,400italic,700italic’ for attribute ‘href’ in tag ‘link rel=mask-icon’ is disallowed.
    2.
    The attribute ‘src’ in tag ‘amphtml engine v0.js script’ is set to the invalid value ‘//cdn.ampproject.org/v0.js’.
    3.
    The tag ‘head > style : boilerplate – old variant’ is deprecated – use ‘head > style : boilerplate’ instead.
    4.
    The tag ‘noscript > style : boilerplate – old variant’ is deprecated – use ‘noscript > style : boilerplate’ instead.
    5.
    The mandatory tag ‘amphtml engine v0.js script’ is missing or incorrect.

    thank you for any insight!

    https://ww.wp.xz.cn/plugins/amp/

Viewing 1 replies (of 1 total)
  • I believe all links should be specified at

    https://fonts. etc.

    and not relative

    ‘//fonts…

    so whatever you’re using to inject fonts in your themes, functions, CSS, should be using https for *all* external links.

    For example on our site, using latest plugin:

    <script src="https://cdn.ampproject.org/v0.js" async></script>

Viewing 1 replies (of 1 total)

The topic ‘AMP validation errors’ is closed to new replies.