• Resolved belsit

    (@belsit)


    I use pretty links for redirecting to offers etc. I discovered that the links I created in pretty links are all changed to /amp. And the redirect via pretty links no longer works. How can I sort this?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    Thank you for the support topic, To understand your issue, can you please add more details on how can we reproduce the issues at our end

    If possible please provide the following

    1) Steps to reproduce issues on your site.
    2) Your pretty link configuration (your redirection configuration)
    3) Device (mobile or desktop) on which you see AMP redirection.

    the information will help us understand your issue better.

    Looking forward to your reply!

    Thread Starter belsit

    (@belsit)

    In Pretty Links I have created redirect pages in format mydomain.com/sometext. The amp plugin adds /amp to these url’s when viewing on a mobile. However, the redirect url with /amp added is not defined in Pretty Links. All Pretty Links url’s seem to have this /amp added at the end of the url, which do not redirect correctly and consequently return to the homepage of my site instead of to the Pretty Links defined redirect url. I did not know that the amp plugin also changed these Pretty Links url’s.

    I have now created a corresponding /amp redirect in Pretty Links for each of the existing redirects.

    Does amp support excluding Pretty Links redirects (not add /amp for these links)?

    Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    Thank you for the additional information, by default AMP plugin redirect mobile users to the AMP version, AMP plugin provides a setting to enable/disable mobile redirection screenshot : https://prnt.sc/20i3mmo

    Thread Starter belsit

    (@belsit)

    If I select that option, the entire website is not shown as amp on mobile devices. I do not get this recommendation

    Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    I am assuming When you click on the pretty link on a mobile device it goes to directly to the non-AMP page but when AMP script detects it’s as mobile device it redirects your non-AMP page to AMP page.

    but you wanted your pretty link on mobile device to be non-AMP instead of AMP

    I hope this is a correct assumption?

    if Yes, you can add the target link as non-AMP with ?noamp=mobile query parameter (screenshot)

    You can visit this demo page on mobile it has a pretty link to non-AMP page

    Thread Starter belsit

    (@belsit)

    Thank you for explaining.

    This is however not what happens. The Pretty Link URL is changed (/amp is added), not the Target URL.

    So Pretty Link mydomain.com/gohere is changed by the amp plugin on the mobile website page to mydomain.com/gohere/amp.

    However, this Pretty Link (mydomain.com/gohere/amp) is not defined in Pretty Links, and consequently it does not redirect to the defined Target URL, but to my website’s homepage (mydomain.com)

    Please also see screenshot, text in blue:
    https://snap.ashampoo.com/Zkm14fp2QMNIX2DaTSNgcagoz0Wq6vFxasS5xdXjPGsiCVIWjW6lWDzQDrcBhizH

    Plugin Support Milind More

    (@milindmore22)

    sorry about the confusion, I am now able to reproduce the issue at my end, please give me some time so that I can prepare a solution for you.

    Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    Can you please download and activate this AMP compatibility for the pretty links plugin and let me know if you still issue with pretty links.

    Thread Starter belsit

    (@belsit)

    Thank you. Will try that

    Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    just wanted to check if using the mini plugin resolved your issue, also if you still find any issues please let me know I will be happy to update the plugin to resolve them.

    Thread Starter belsit

    (@belsit)

    Until now I have not used it, as I have decided to continue using 2 Pretty Links entries for each redirect (URL and URL/amp). It’s extra work, but provides insight into which link is redirected.

    Thank you for the mini plugin code. May still decide to use it later

    Plugin Support Milind More

    (@milindmore22)

    Hello @belsit

    As you decided to try alternate solution, I’ll mark this as resolved Open a new support topic if you face further issues, also feel free to leave a plugin review, we would love to hear your feedback.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Pretty links’ is closed to new replies.