If a sitemap lists URL A but A's canonical points to B, you've submitted a non-canonical. Google reports it as "Duplicate, submitted URL not selected as canonical."
Checklist:
Step 1 — For each sitemap URL, fetch and read its rel="canonical".
Step 2 — FAIL any URL where canonical ≠ the URL itself.
Step 3 — Replace with the canonical target in the sitemap.
Common culprits to catch:
— Trailing-slash variants (/page vs /page/).
— http vs https.
— Tracking params (?utm=, ?ref=) left in generated URLs.
— Uppercase vs lowercase paths.
Threshold: 100% of sitemap URLs are self-referencing canonicals.
Definition of done: a diff of sitemap-URL vs its-canonical returns an empty set.
The Sitemap SOP
@SitemapSOP
Sitemap URLs must be self-canonical
This post was published in the Telegram channel The Sitemap SOP (@SitemapSOP). All its posts are on the channel page.
Open on Telegram