• Resolved swagatam1975

    (@swagatam1975)


    Hello,

    Initially I had genesis theme, and AMP activated. Everything was working perfectly.

    Then for experimenting, I decided to remove AMP, and then simultaneously I also changed genesis theme to generatepress.

    However yesterday I decided to activate AMP again, but this time on generatepress theme.

    I configured everything as per the wizard instructions.

    My AMP scan results tells me that no issues were found, but when I browse the articles in AMP mode I find that the URL ends with ?amp=1, and not with the regular /amp/.

    Earlier, with the genesis theme I used to have the regular /amp/ at the URL ends.

    I am confused whether or not the AMP version of the my site will be indexed correctly with this ?amp=1 at the end of the URLs?

    Your kind help will be greatly appreciated

    Swag.

    • This topic was modified 2 years, 6 months ago by swagatam1975.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @swagatam1975

    Thank you for contacting us, ?amp=1 is the default and recommended structure since it doesn’t conflict with other rewrite rules. it also makes sure that users don’t get a 404 error when the AMP plugin is deactivated. that being said the default URL structure should not create any issues while indexing the site.

    However, you can change the URL structure to /amp/ using AMP->Paired URL structure setting of AMP plugin.

    You can learn more about Paired URL structure from our documentation

    Hope this helps!

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you very much for your reply Milind,

    I have understood your explanation.

    However, I am wondering why this issue did not arise earlier while using genesis theme?

    During that time I correctly had the /amp/ slug at end of the URLs.

    Also, in the existing situation can I continue with the ?amp=1 structure for my URLs?

    Do I have to redirect all my pages to this structure, or will Google automatically find the AMP version and index them with the ?amp=1 structure even if I don’t use the redirect?

    Thank you for your time. Appreciate it very much.

    Kind Regards
    Swag

    Plugin Support Milind More

    (@milindmore22)

    Hello @swagatam1975

    I am not sure about the reason for behaving different on diffrent themes, maybe it was selected in settings before to be /amp/ somehow.

    JFI: when you delete the AMP plugin, it will remove all the data including the setting stored for the URL structure.

    Also, in the existing situation can I continue with the ?amp=1 structure for my URLs?

    If you removed the AMP plugin a long time ago (1-2 months back) and now you are re-installing it, then you can use the ?amp=1 query parameter. it is recommended as it will not fail even if you remove AMP after some time.
    Also, make sure that you don’t have /amp/ URLs listed on GSC.

    if you recently removed the AMP (1 month) plugin and re-installing it now, you can use your previous /amp/ structure otherwise GSC will start reporting 404 errors.

    Do I have to redirect all my pages to this structure, or will Google automatically find the AMP version and index them with the ?amp=1 structure even if I don’t use the redirect?

    No, you don’t need to add a redirect, When Googlebot crawls your non-AMP pages (the normal site without ?amp=1 or /amp/) it will look for <link rel="amphtml"> tag on the non-AMP page and index that page as AMP page.

    GSC: Google Search Console.

    Hope that answers your questions ??

    Thread Starter swagatam1975

    (@swagatam1975)

    Thank you so much Milind,

    Problem is solved now.

    Although, ?amp=1 is the recommended structure I prefer /amp/ structure since I do not want to have 404 not found in my GSC.

    So as per your advice, I could change the ?amp=1 structure to /amp/ through AMP->Paired URL structure setting of AMP plugin.

    Many Thanks, Appreciate your kind help very much. It helped me to learn a lot about the AMP plugin.

    Kind Regards
    Swag

    Plugin Support Milind More

    (@milindmore22)

    @swagatam1975 I am glad to hear that suggestion is helpful, 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 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Why am I getting ?amp=1 at the URL end instead of /amp/’ is closed to new replies.