• Resolved Manish S

    (@shahmanish877)


    I have a site where AMP show issues in almost every pages and the page won’t load in normal way.. All those issues shows invalid script whose source are from the plugins. When those invalid script are “Kept”, the page view normally. Is there any way to solve it?
    Screenshot
    1. https://nimb.ws/713Yns
    2. https://nimb.ws/O8HgyW

    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 @shahmanish877

    The Theme or plugin you may be using is adding javascript on the AMP page, the AMP does not allow javascript so the AMP plugin removes them for you.

    if you allow the scripts by keeping (“Kept”) them, it may create an invalid page which will not be indexed means not show up in the result and will not be cached in the AMP cache.

    Is there any way to solve it?

    You may ask the plugin author to make it compatible, most cases need small fixes.

    Look for an alternative plugin that is AMP compatible, you may check our site for compatible themes and plugins.

    if you just started with your site please check our getting started guide.

    Plugin Support Milind More

    (@milindmore22)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

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

The topic ‘Why every page has invalid script error?’ is closed to new replies.