• In settings I have AMP on Pages set to Off, but within the sourcecode it is still including
    <link rel="amphtml" href="https://www.site.com/pagename/amp/"/>

    This is resulting in 404s

    When editing individual pages, the “Show AMP for Current Page” seems to default to “Show”. But even when I change it to “Hide” it still includes the amphtml link.

    I am running Version 0.9.31 – When I disable this plugin, the amphtml link is removed.

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

    (@ampforwp)

    Hi @jansportw,

    Sorry for the inconvenience.

    We have removed this issue in our latest update.
    Please update the plugin and let us know if you are still facing any problems.
    Your feedback will help us improve more.

    Thanks

    Regards,
    Team AMP

    Thread Starter jansportw

    (@jansportw)

    Halfway fixed.
    Now if I manually set a page to “hide” then it does not include the amphtml – great.

    But if I have a page that I have not selected either hide or show (ampforwp-amp-on-off = default or blank) then even though I have the settings set to off for pages (s:24:”amp-on-off-for-all-pages”;s:1:”0″), it still displays amphtml.

    It’s as if “default” isn’t catching that the settings are set to off.

    • This reply was modified 8 years, 2 months ago by jansportw.
    Thread Starter jansportw

    (@jansportw)

    might be the problem?
    under wp options table

    • option_name: redux_builder_amp
    • value includes: s:24:”amp-on-off-for-all-pages”;s:1:”0″

    but

    • option_name: redux_builder_amp-transients
    • value: s:24:”amp-on-off-for-all-pages”;s:1:”1″
    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @jansportw,

    I will discuss it with my lead developer and come up with the possible solution.
    Thanks.

    Regards,
    Team AMP

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘AMP on Pages off but still inserting amphtml link’ is closed to new replies.