Viewing 14 replies - 1 through 14 (of 14 total)
  • Looks like another plugin might be modifying the output of the AMP pages which is leading to the following issues:

    1) media="all" is being added to the stylesheet <link> tag, which is not allowed.
    2) The AMP boilerplate is being stripped out.

    Thread Starter Versari

    (@versari)

    Probably not-compatible plugins I’m using:
    – Autoptimize
    – Notifica Cookie
    – WP Review
    – WP Super Cache
    – Yoast SEO

    Thread Starter Versari

    (@versari)

    Can you gently help me? How can I discover which one is not compatible?

    You may have to disable each plugin to see which one fixes it. It’s most likely the Autoptimize plugin.

    To view errors, go to any AMP page, open your browser’s javascript console (usually right-click > “Inspect Element” > “Console” tab). Add #development=1 to the end of the URL and then refresh the page. Any AMP errors will show up in the Javascript console in red.

    for autoptimize; switch to the soon-to-be-released 2.0.1, which simply bails out for amp-pages (as those are prettty optimized already).

    this will solve:

    media=”all” is being added to the stylesheet <link> tag, which is not allowed.

    you can download the latest AO zip-file from github here.

    frank

    Thread Starter Versari

    (@versari)

    If I install this version, I’ll be able to automatically update it Autoptimize in the future?

    Or I need to re-install the “normal” version from www.ads-software.com page?

    Frank Goossens: that’s great to hear! Thanks for fixing!

    If I install this version, I’ll be able to automatically update it Autoptimize in the future?

    should be no problem, but do make sure to overwrite wp-content/plugins/autoptimize with the contents of autoptimize-master in the zipfile (to avoid that you end up with wp-content/autoptimize and wp-content/autoptimize-master).

    Frank Goossens: that’s great to hear! Thanks for fixing!

    you’re welcome! do let me know if any other problem would surface!

    frank

    Thread Starter Versari

    (@versari)

    Frank, sorry but I must be sure.

    Are you telling me to update my actual Autoptimize plugin by uploading all the files from autoptimize-master.zip to /autoptimize/ wordpress folder by FTP?

    Thanks in advance

    Are you telling me to update my actual Autoptimize plugin by uploading all the files from autoptimize-master.zip to /autoptimize/ wordpress folder by FTP?

    Yep. But don’t do that if you’re uncomfortable with doing such non-default stuff, esp. not on your live site. Although the dev-version works OK for me and for some others, it is not the official production-version yet, so it could contain (more) bugs then you would care for ??

    frank

    Thread Starter Versari

    (@versari)

    Ok I’ll update it right now ?? Thanks

    Have I to delete autoptimize cache files too?

    Thread Starter Versari

    (@versari)

    Update the plugin and deleted the cache.

    @mohammad Jangda can you gently test my website now please?

    https://recensionidroni.com

    Thank you ??

    FYI; AO 2.0.1 was officially released early this morning.

    frank

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Google Search Console’ is closed to new replies.