• Resolved samk0985

    (@samk0985)


    HI,

    I am getting below error in webmaster,

    “Not a valid AMP page
    Invalid AMP pages will not have AMP-specific features in Google search results”

    “Invalid usage of AMP tags
    The parent tag of tag ‘amp-app-banner’ is ‘div’, but it can only be ‘body’.”

    Check the snap here for detail view: https://ibb.co/m690Um

    Also when i see the non amp version of any post of my website, there is a button after the content end showing “Learn more about AMP in the Medium App.” Here is the image for your reference,, https://ibb.co/btfozm

    So how can i remove it from the amp dashboard?

    Thanks in advance..

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    Hi,

    You have added amp-app-banner support but incorrectly, which is causing the issue.

    You need to add it after the <body> tag, which means you can paste that code in Advanced Section > after the Body text area option.

    That should fix the validation issue.

    Regards

    Thread Starter samk0985

    (@samk0985)

    HI,

    I didnt added any custom field in the amp!

    Its in default mode but still showing the “Learn more about AMP in the Medium App.” in the nonamp page which causing error for the AMP page.

    Thanks

    Thread Starter samk0985

    (@samk0985)

    The issue is fixed now.. Thanks

    Plugin Author Mohammed Kaludi

    (@mohammed_kaludi)

    Thank you. Please share your review in the ratings section

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Invalid usage of AMP tags’ is closed to new replies.