-
I audited my site on Ahrefs. There are some non-canonical page in sitemap. How can I can fix them? I am using Rankmath plugin for SEO.
Please check the screenshot: https://drive.google.com/file/d/14EXs0RzMIswvwxDYHWYyVRi-bFJHp0_P/view?usp=sharing
-
Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
I can check that all the affected pages have the self-referencing canonical URL and that’s why they are being added to the sitemap:
It seems like Ahrefs is crawling the cached version of your site. Please clear the cache of your site and run the audit again.
Let us know how that goes. Looking forward to helping you.
Hi,Jaideep. Thank you for your quick response. I will clean cache and let you know about the issue.
Hello,
Sure, let us know how this goes.
Meanwhile, please don’t hesitate to contact us anytime if you have other questions to assist you further.
Looking forward to helping you.
Thank you.
I cleared my site cache and I did run a new audit on ahrefs. Now The Non-canonical page in sitemap errors has decreased from 18 to 9 errors. Now please let me know. How can I fix all Non-canonical page errors? Thank you for your great help
Hello,
We do not include non-canonical pages in the sitemaps. Could you confirm if you searched the sitemaps for the affected URLs? If yes and if you’ve found them, it is likely that the sitemaps are getting cached.
Please follow the below steps and see if that helps:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/3. Clear your website and browser’s cache and check the sitemaps again or run the Ahrefs audit again.
If the issue persists, please share the current affected URLs so that we can have a closer look.
Looking forward to hearing back from you.
Thank you.
I followed your steps but the issues are not solved. Actually, I am using Rank math Business. There are 2 issues on my site.
1. Hreflang to non-canonical
2. Non-canonical page in sitemapPlease check the screenshot: https://drive.google.com/file/d/1aSfHJ-BNmtFVB2IvY-c8-SA2CT1-7kNB/view?usp=sharing
Please check the Non-canonical page in sitemap: https://drive.google.com/file/d/1343ewDo-Vz65hraP0cyKxQ1-d6PQaQfi/view?usp=sharing
Please check Hreflang to non-canonical issues: https://drive.google.com/file/d/1gAUmo5gCSuoQOse6llm1TN6WTa5keqxL/view?usp=sharing
This is sitemap Url: https://www.xyndata.com/sitemap_index.xml
We are using WPML Multilingual CMS plugin for translation, I think this issue with the plugin
Example:
This is Canonical page below in sitemap:
https://www.xyndata.com/imprint/
https://www.xyndata.com/team/
https://www.xyndata.com/dienstleistungen-massgeschneiderte-loesungen-produkte/loesungen/This is Non-canonical page in sitemap:
https://www.xyndata.com/cs/imprint/
https://www.xyndata.com/cs/team/
https://www.xyndata.com/de/kontaktiere-uns/
https://www.xyndata.com/de/dienstleistungen-massgeschneiderte-loesungen-produkte/loesungen/Please let me know how can I fix it.
Thank you
Hello,
We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress logins in the designated Sensitive Data section.
Please do take a complete backup of your website before sharing the information with us.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘How to fix non-canonical page in sitemap errors?’ is closed to new replies.