• Resolved chefvevo

    (@chefvevo)


    There is content which fails AMP validation. The invalid markup has been automatically removed. Review issues
    
    Invalid elements: script (20)
    
    Invalid attributes: attribution, page_id

    screenshot : https://prnt.sc/11feap0

    p.s: I’m not a professional.

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

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

    (@milindmore22)

    Hello @chefvevo

    Thanks for the support topic, AMP page needs to be valid to get cached (AMP cache) Search Engine then serves them upon search request is made for same.

    You can check your AMP page for validation using AMP validator

    In order to create a valid AMP page. AMP plugin checks and removes any incompatibilities.

    from the screenshot it looks like you are trying to add custom javascript in the page content, The AMP does not allow custom javascript so the AMP plugin removes them to create a valid AMP page.

    Also, AMP does not allow invalid attributes so AMP plugin removes them too.

    If you are using this for any functionality consult with the code provider and ask them for an AMP alternative.

    if any plugin is adding that javascript click “Review Issues” and check which plugin is adding it, ask the plugin author to make it AMP-compatible or Look alternative plugin which is AMP Comptible. you can find plugins on our ecosystem page.

    @chefvevo Just checking in here –?have you been able to get your AMP page to successfully validate? Let us know if there’s anything else we can help with. Thank you!

    @chefvevo As we haven’t received a response, I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist. Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There is content which fails AMP validation’ is closed to new replies.