• Resolved Edith Etsacuisine
    Rank Math free

    I just published an article with a story. I installed the plugin and made the settings as you indicate in your news letter.
    But this morning “google” is sending me this message.

    Top Errors

    Errors can prevent your page or feature from appearing in Search results. The following errors were found on your site:

    Custom JavaScript code is not allowed.

    HTML event attributes (“on *”) are not allowed in AMP documents. Use “amp-bind” instead.

    The “amp-story” tag cannot have a sister tag (“body” must have only one child).

    A tag has been detected outside the document header, which is only allowed for direct child elements of the document header.

    Only “amp-boilerplate” and “amp-custom” style tags are allowed, and only in the document header.

    I’m not sure what to do. I may have set the plugin wrong?
    Do you have an idea of the problem ?
    thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Michael Davis
    Rank Math pro

    Hello Edith,

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

    By story do you mean Google web stories?

    The error you shared seems to be related to an AMP URL, could you please share the URL so we can test using Google AMP Test:

    Looking forward to helping you. Thank you.


    I must clarify that I do not use AMP for my cooking site.
    The address where I have placed Google web stories:

    Rank Math business


    The Google web stories need the use of AMP so I would recommend you to install some of the compatible AMP plugins and then it should work completely fine.

    Looking forward to help 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 3 replies - 1 through 3 (of 3 total)

The ticket ‘story’ is closed to new replies.