Tag 'link rel=canonical' appearing twice

#2025
  • Resolved Nic Windley
    Rank Math free

    When using RankMath and selecting the RankMathSEO option in AMPforWP I’m still getting duplicate canonical tags (have cleared cache).

    This affects all AMP pages.

    • This topic was modified 5 years ago by Nic Windley. Reason: Adding sensitive login data
Viewing 9 replies - 1 through 9 (of 9 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please edit the sensitive data section and enter some temporary admin access to your site along with a link to the affected page so that I can take a look at this for you.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Nic Windley
    Rank Math free

    An example page where this is a problem is as follows:
    http://www.nicwindley.co.uk/amp/

    Michael Davis
    Rank Math pro

    Hello,

    Thank you for the response.

    The password that you shared does not appear to be correct, would you mind checking it from your end to ascertain that it’s working?
    I have also noted from the URL that you have two SEO plugins active. Would you mind deactivating the other plugin to check whether this will fix the issue?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Nic Windley
    Rank Math free

    I’ll try disabling squirrly however it’s not enabled to generated any meta data.

    Nic Windley
    Rank Math free

    Even with Squirrly disabled (and site cache cleared), I’m still getting duplicate canonical URLs as shown here;

    https://search.google.com/test/amp?id=gReZkD2wbcvNTEbXV2t7Ng

    I’ve also confirmed your new password (log in) works.

    Hello Nic

    Can you please test again? I went ahead and disabled the AMP module of the Rank Math plugin.

    Since the plugin you are using has added the compatibility for the Rank Math plugin, you do not need to enable the AMP module of the Rank Math plugin.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Nic Windley
    Rank Math free

    Looks good. Would be useful to test for this condition being set and disallow the AMP module in RankMathSEO.

    Nic Windley
    Rank Math free

    Thank you!

    Hello,

    Definitely. We will see what we can do with that.

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/?filter=5#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘Tag 'link rel=canonical' appearing twice’ is closed to new replies.