I getting many AMP error on One URL?

  • These are the error, and the affected URL is given in Sensitive Data.

    1.The parent tag of tag ‘HTML’ must be ‘!doctype’.
    2.A mandatory AMP HTML tag is missing from this document.
    3.Tag found outside the document head which is only allowed as a direct child of the document head.
    4.Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.
    5.Custom JavaScript is not allowed.
    6.Tag or text which is only allowed inside the body section found outside of the body section.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I checked your URL with Google AMP test tool: https://search.google.com/test/amp and the only issue I could replicate was on unused amp-story-player, check the screenshot I have added in the sensitive section. This seems to be from a script tag you have on your page.

    It might be coming from one of your plugins or theme. To determine that, please follow this troubleshooting guide: https://rankmath.com/kb/check-plugin-conflicts/

    Please let us know if you find the culprit.

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    OK let me do Troubleshooting then I will tell you the result.

    I didn’t find any plugin conflict with the Rank Math SEO.


    We can to take a closer look at the settings to troubleshoot this. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:


    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):


    We really look forward to helping you.


    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘I getting many AMP error on One URL?’ is closed to new replies.