• Resolved amazinghacker

    (@amazingdropout)


    First of all thanks for creating this awesome plugin.
    As I can see that AMP version of any post can be accessed through /amp or ?amp at the end of the URL slug.
    I want only one parameter not both /amp & ?amp. I want ?amp ( query string ) parameter only.
    So,
    How do I disable /amp option or enable ?amp only. Will you fix this in next update. Can you provide any code which I can paste in function.php for temporariy fix. Keep in mind I want to use query string parameter for all AMP version of post.

    Thanks in advance. ?? ?? ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @amazingdropout,

    Why do you want change the AMP slug, Can you help understand this?

    Regards

    Thread Starter amazinghacker

    (@amazingdropout)

    First of all thanks for replying ?? ?? ??
    In short, I’m using WPML Plugin on my site. I’m using a feature which is “Links to translation of posts
    You can display links to translation of posts before the post and after it. These links look like "This post is also available in..."
    Check this URL: TEST POST See ( You can read this post in ?????? ). Click on it you will go to Hindi version.
    Now,
    Goto the AMP version of that post by using /amp at the end of the URL slug and again click on You can read this post in ??????.
    You can see it will redirect you to Hindi version but not the AMP version. It will redirect you to normal post. But I want AMP version of that language and that is working good with Query string.
    Now again,
    Goto the AMP version of that post by using ?amp at the end of the URL slug and again click on You can read this post in ??????.
    As You can see it will redirect you to Hindi version as well as the AMP version.
    I hope you will understand my problem and help me to fix it. I need ?amp by default.
    Thanks again.

    Hi @amazingdropout,

    The link which you have provided is unable to open.
    Can you please check and send me the correct link so that i can understand your problem.?

    Regards,
    AMPforWP Team

    Thread Starter amazinghacker

    (@amazingdropout)

    I have uninstalled that plugin. ??

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @amazingdropout,

    Which plugin you have uninstalled?

    Regards,
    Team AMP

    Thread Starter amazinghacker

    (@amazingdropout)

    I uninstalled WPML ( Not compatible with AMP ). I’m now using Qtranslate-x ( Compatible with both yours and Automattic ).
    Thanks for your kind reply and your development work.
    ?? ?? ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with AMP slug ( /amp & ?amp )’ is closed to new replies.