• Resolved VB

    (@cricketnow247)


    Hi,

    I am using the latest version of AMP for WP plugin on my site:
    cricketnow247.com

    I have Yoast SEO plugin installed and also have an ‘XML sitemap and google news’ plugin. I have disabled the sitemap feature of Yoast plugin so as not to conflict with the ‘XML sitemap’. The reason we have an ‘XML sitemap and google news’ plugin too is to generate the google news sitemap.

    We had earlier used the AMPforWP plugin, maybe some 4-5 months back. Then it was working fine. But due to some reasons, we had stopped using it. Last week we started reusing it.

    And observed duplicate canonical URL errors for some 10-15 URLs.

    So we turned off the ‘Canonical from Yoast’ setting in the plugin SEO settings.

    But a few days later found around 180+ links with the error.

    Please help us resolve the issue as soon as possible. It is affecting Google news indexing.

    Let us know if you need more information.

    Our site: https://www.cricketnow247.com/amp

    One of the URL with the issue:
    https://www.cricketnow247.com/quick-relook-faf-de-plessis-captaincy-credentials-steps-down-skipper-role/?amp

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

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

    (@ahmedkaludi)

    Can you please tell me the list of active plugins on your website?

    Thread Starter VB

    (@cricketnow247)

    Here I share a link with the screenshot of all the active plugins and also the current settings of the AMP for WP plugin.

    Let me know if any more information needed.

    https://cubeupload.com/codes/cd94c0

    Some more ‘single section under design’ settings screenshots, forgot to add to above link.
    https://cubeupload.com/codes/a3bed9

    • This reply was modified 4 years, 9 months ago by VB. Reason: forgot to add few screenshots
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. This is because you are using ezoic service on your website. They will be adding automatically canonical code on your website. Can you please remove the canonical option from their service.

    Thread Starter VB

    (@cricketnow247)

    Okay, I have informed the Ezoic technical team about this. They are looking into it.
    Will update here once I get a reply from them.

    Thread Starter VB

    (@cricketnow247)

    Hi Ahmed,

    The Ezoic team was not able to reproduce the issu. Have given their reply below. Also, for now, we have deactivated the AMP plugin as being a small publisher our goals with Google News are not materializing due to their recent news algorithm changes.
    For future reference/solutions, sharing the observations so far.

    Here is the Ezoic Team reply :

    February 26th Tech Update:
    Our technical team were unable to recreate the issue on the flagged pages as they are all passing validation tests in Google Search Console and no longer have the canonical link issue. Since we’re unable to replicate the issue, here’s a cached version of your site with the duplicated canonical link issue: https://webcache.googleusercontent.com/search?q=cache:eTZ9n5r6OlIJ:https://www.cricketnow247.com/quick-relook-faf-de-plessis-captaincy-credentials-steps-down-skipper-role/%3Famp+&cd=1&hl=en&ct=clnk&gl=us

    Other WordPress users have experienced these same issues before: https://www.ads-software.com/support/topic/the-tag-link-relcanonical-appears-more-than-once-in-the-document/ and it’s caused by two conflicting WordPress plugins – usually “Yoast SEO” – which you currently have installed. In total, there are 40 plugins installed on your site with some throwing errors upon installation/activation.

    Ezoic should not affect the functionality of AMP pages, therefore we believe this issue was a misconfiguration on yourend. Your AMP pages are set to be re-validated within the search console.

    Out technical team created a test site of your site using the same theme and plugins to try and identify the issue. It appears that on your end, you were previously using the default AMP endpoint setting (page_url/amp/) and switched to using the ?amp query tag instead (page_url?amp) around February 16-18th. This caused a few issues in the search console, but will be resolved once Google re-indexes all the AMP pages again.

    February 27th Tech Update:
    After the index re-validation ran, Google processed some pages but had errors on some. 30 passed but 14 have failed so far.

    The issue of duplicated canonical links can only be found on your original site, not the site we serve. Therefore, this is an issue on the publisher’s end.

    https://www.cricketnow247.com/post_type_questionna/which-team-has-the-record-for-the-lowest-total-score-in-a-cwc/page/10/?amp&ez_orig=1#development=amp

    Our technical team have said that this is outside of our scope, but if you did something custom such as adding a filter to your WordPress PHP, you should remove it. If you’re using an SEO manager like Yoast, there are usually settings related to canonical links at the bottom of the post/page builder. ?
    ?
    On another note, have you added any other plugins recently?

    I recommend that you also look into whether the Genesis framework and Yoast SEO are working together properly. Here’s a good article that goes over a couple different things to try: https://seowindycity.com/how-wordpress-created-duplicate-canonical-tag-problem/

    So, For now, you can close this issue. Or if there is a solution from your end, we would be happy to test it on our site and confirm if it is resolved.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This absolutely sure that this error is because you are using ezoic service on your website. Can you please enable the AMP option on your website. After that, we can move to next steps.

    Thread Starter VB

    (@cricketnow247)

    We have re-enabled the AMP option on the site. Let us know once the steps are done.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. The ‘link rel=canonical’ working perfectly on your website. Can you please check once whether having the same issue or not.

    Screenshot: https://monosnap.com/file/S4KCxznnInkx7EgVUwjvuj6GIVwjl5

    Thread Starter VB

    (@cricketnow247)

    Rechecked again. Purged all the caches. Still showing two canonicals when done ‘view page source’

    https://u.cubeupload.com/VB9999/Capture.png

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    The ‘link rel=canonical’ working perfectly on your website. Can you please clear the cache and check once whether having the same issue or not.

    Screenshot: https://monosnap.com/file/sZdhwPViAbHhwCaJuv9MXdhyKa17Ao

    Thread Starter VB

    (@cricketnow247)

    Hey thanks, Ahmed, tested with amp validator and tried with an incognito window in the browser. It showed only one canonical this time.
    Also checked from the google search console, looks okay now!

    Did you do any update from your side?

    You can mark the issue as resolved. Thanks a lot!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Glad that it’s working now.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘The tag ‘link rel=canonical’ appears more than once in the document.’ is closed to new replies.