Support » Plugin: AMP for WP - Accelerated Mobile Pages » Google says my homepage is not valid AMP

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hey @wanttogetwptowork

    Have you updated the plugin to the latest version?? If no please update and let us know if you are still facing any issues. We’ll resolve them.

    Regards
    Team AMP

    Google is checking for ?ampbecause that is what your website is telling google to look at .

    <link rel=”amphtml” href=”https://www.kineticinquiry.com/?amp” />

    Im having the very same issue on the latest version of the plugin. Whats needed is for the rel= link on pages to be /amp instead of ?amp so AMP works on both pages and posts.

    Your posts should be validating with either ?amp or /amp.

    Hi all,

    I have a lot of errors, like:

    Line
    Column
    Issue
    36
    0
    The tag ‘script’ is disallowed except in specific forms. Debug.
    41
    0
    The attribute ‘src’ in tag ‘amp-sidebar extension .js script’ is set to the invalid value ‘//cdn.ampproject.org/v0/amp-sidebar-0.1.js’. Debug. Learn more.
    42
    0
    The attribute ‘src’ in tag ‘amp-social-share extension .js script’ is set to the invalid value ‘//cdn.ampproject.org/v0/amp-social-share-0.1.js’. Debug. Learn more.
    43
    0
    The attribute ‘src’ in tag ‘amp-ad extension .js script’ is set to the invalid value ‘//cdn.ampproject.org/v0/amp-ad-0.1.js’. Debug. Learn more.
    43
    92
    The attribute ‘src’ in tag ‘amp-analytics extension .js script’ is set to the invalid value ‘//cdn.ampproject.org/v0/amp-analytics-0.1.js’. Debug. Learn more.
    213
    7
    The mandatory tag ‘amphtml engine v0.js script’ is missing or incorrect. Debug. Learn more.
    213
    7
    The tag ‘amp-sidebar extension .js script’ is missing or incorrect, but required by ‘amp-sidebar’. Debug. Learn more.
    213
    7
    The tag ‘amp-social-share extension .js script’ is missing or incorrect, but required by ‘amp-social-share’. Debug. Learn more.

    https://fototrekking.com/ley-de-reciprocidad/amp/

    I have AMP for WP – Accelerated Mobile Pages for WordPress Version 0.9.35

    Any ideas?

    Thanks in advance

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @sureno,

    We are very much sorry for the inconvenience.
    I have created a ticket about it in the Github(ref).
    it will be fixed in the next couple of days.

    Regards
    Marqas

    Thanks a lot Marqas,

    Is this going to fix my problem as well?

    Thanks,

    Laura

    Hi @ampforwp,

    I’m helping @wanttogetwptowork with this. We updated the plugin to Version 0.9.35. On the homepage, the rel=”amphtml” points to href=”https://www.kineticinquiry.com/?amp”, which does work. But /amp/ works too, and /amp/ is what is used for the rel=”amphtml” on other pages.

    So, we’re confused why it’s different on the homepage. It may not matter, but Search Console was complaining “Google systems have detected that some of your AMP pages (https://www.kineticinquiry.com/?amp) do not meet our guidelines and will therefore not show in Google Search AMP-related features. User-authored JavaScript found on page”. This is the only AMP error Search Console reports.

    Here’s what I think is happening. Not sure. The homepage’s amp reference is to https://www.kineticinquiry.com/?amp. All the other pages use the /amp/ version. Google’s Search Console AMP validation/error page sees the ?amp version and tries to validate it as valid AMP HTML, BUT for some reason it is validating the non-amp homepage, i.e., https://www.kineticinquiry.com/. (which is not AMP)

    This is ok (/amp/):
    https://validator.ampproject.org/#url=https%3A%2F%2Fwww.kineticinquiry.com%2Famp%2F

    This is not ok (?amp):
    https://validator.ampproject.org/#url=https%3A%2F%2Fwww.kineticinquiry.com%2F%3Famp

    In the meantime, I’ve done a post-HTML rewrite for her AMP reference to replace https://www.kineticinquiry.com/?amp with https://www.kineticinquiry.com/amp/ so that there is no longer any reference to the ?amp version.

    So I’m wondering if the plugin should only ever use /amp/ and not ?amp ?

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @sureno @wanttogetwptowork @joefletcher,

    We are sorry for the inconvenience you all are facing.

    Both these issues will get resolved in the next update.

    Thanks for your patience. 🙂

    Regards
    Marqas

    Hey @sureno

    Can you please activate amp and gimme the URL…i will fix your issue now 🙂

    Regards
    AzMak

    Hi @azmak AMP is active and still shows 7 errors. Please, see example at https://validator.ampproject.org/#url=https%3A%2F%2Ffototrekking.com%2Fley-de-reciprocidad%2Famp%2F

    Thanks a lot

    Hey @sureno

    Thanx for your reply 🙂

    regards
    AzMak

    Hey @sureno

    can you list all the plugins you use ?

    regards
    AzMak

    Thanks @azmak

    Plugins in use

    Accelerated Mobile Pages
    Akismet
    AMP
    Code Embed by David Artiss
    Contact Form 7
    Contact Form DB
    Easy Pricing Tables by Fatcat Apps
    Genesis Columns Advanced
    Genesis eNews Extended
    Genesis Responsive Slider
    Genesis Translations
    Instant Articles for WP
    Jetpack by WordPress.com
    Local SEO for Yoast SEO
    Quiz Cat Free
    Related Posts Thumbnails By Maria Shaldibyna
    Simple Social Icons
    Team Showcase By Carlos Moreira
    Testimonials Showcase By Carlos Moreira
    Wordfence Security
    WP Rocket
    WP Smush
    WP-Mail-SMTP
    WPML Multilingual CMS
    WPML String Translation
    Yoast SEO

    Best regards,

    Pablo

    Hey @sureno

    can you turn off defer from WP Rocket and recheck the pages for validation

    Regards
    AzMak

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Google says my homepage is not valid AMP’ is closed to new replies.