Support » Plugin: AMP for WP - Accelerated Mobile Pages » Remove /amp from a link

  • Resolved Jem7

    (@jem7)


    Hi there.

    In my site, I have a footer with some internal links (contacts, home page, various stuff) plus an external link to the privacy policy generated through a third party service.
    I have this menu on the amp version of the site too, but in this case, this external link get the /amp at the end, and generates a 404 error since that link is not on my site and doesn’t exist as an /amp link.

    How to get rid of that?
    Thank!

    Luca

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

    (@ampforwp)

    Hello @jem7

    Can you please share the URL where the issue is occurring so I can check it and will provide a solution for you.

    Jem7

    (@jem7)

    Hi.

    Here it is: https://www.ilsake.it/amp/

    In the footer, the “Normativa privacy” url.

    Thanks,

    Luca

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello @jem7

    Can you please tell me if you had enabled auto to add the amp in menu URL option if yes then try to disable this option and check if the problem persists or not.

    You can find that option in dashboard>amp>setting>advanced setting>auto add the amp in menu URL

    See this screenshot: http://take.ms/dpiLm

    Jem7

    (@jem7)

    Hi,

    yes, it was activated!

    So I guess now the best thing to do is to “duplicate” the footer menu but manually adding the /amp suffix for the interested url, and assign it to the amp footer menu, right?

    Thanks,
    Luca

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello @jem7

    Yes, just disable auto add the /amp in menu URL option and see if it work.

    Jem7

    (@jem7)

    Hi @ampforwp,

    yes, everything’s fine now, thanks! 🙂

    Luca

    Plugin Contributor ampforwp

    (@ampforwp)

    Hello @jem7

    Glad that its working fine now.

    Can you please share a review with us, your positive review will encourage us to work hard with more passion.

    You can use this link to share your review:
    https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.