Non-canonical page in sitemap – Images have /#main at the end of url
-
Hello,
I am encountering an issue flagged by Ahrefs with the message: “Non-canonical page in sitemap.”
After investigating, it seems the problem is caused by URLs of images that include
#main
at the end (e.g.,example.com/page/#main
). These URLs appear in the sitemap generated by the Yoast SEO plugin.I would like to understand the following:
- Why are these
#main
URLs being included in the sitemap? - Are these URLs necessary, or should they be excluded?
- What steps can I take to resolve this issue and ensure that only canonical pages are listed in the sitemap, without negatively affecting my rankings or SEO performance?
Thank you for your support!
Best regards,
- Why are these
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.