• Resolved declersa

    (@declersa)


    Hello,

    We have been notified by the search console that all our AMP pages have errors.
    These errors are:

    • The “style amp-custom” tag appears multiple times in the document
    • The parent tag of the “html” tag must be “!doctype”
    • There is a mandatory AMP HTML tag missing from this document
    • You are not allowed to use the CSS qualifier !important.

    We also tested the AMP page on this tool and the result indicates that the page is not a valid AMP page https://search.google.com/test/amp/result?id=36gK-K5ia4skK6yKy4i7yQ

    However, we have been using this plugin for a long time and we are encountering this problem only now. Maybe because of an update? We are using Version 2.2.1, theme reader AMP legacy

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @declersa

    Thank you for the support topic, it seems some of CSS which is added by one of your plugin or theme above <html> tag.

    From primary investigation suggest that the CSS is related to winamaz plugin.
    Since it’s premium plugin we will recommend contacting their support, the CSS code should be inserted inside <head> tag using wp_enqueue_scripts and for legacy theme it should be added using amp_post_template_css hook

    screenshot

    Hope this is helpful!

    Thread Starter declersa

    (@declersa)

    Hello @milindmore22

    You are right! We’ll check it out with Winamaz support.
    Thanks a lot for your help!

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘invalid amp page’ is closed to new replies.