Mistake: cross-host URLs in one sitemap
Google only trusts a sitemap to declare URLs on the host that serves it (or hosts proven via Search Console cross-submission). Mixing www and non-www, http and https, or a CDN subdomain gets those rows ignored.
Fix checklist:
— ✅ Every <loc> shares the exact scheme + host of the sitemap's own URL
— ✅ No protocol-relative (//) or relative URLs — all fully qualified
— Serving one sitemap for multiple verified hosts? Submit it under the cross-submission setup, do not just inline foreign hosts
— Watch trailing-slash and case: /Page and /page/ are different URLs to a crawler
Definition of done: grep every <loc>; assert all start with the identical https://host prefix. Any mismatch is a row that will not be crawled.
The Sitemap SOP
@SitemapSOP
Mistake: cross-host URLs in one sitemap
Этот пост опубликован в Telegram-канале The Sitemap SOP. Подписаться можно по ссылке: @SitemapSOP.