
Check Sitemaps and Canonical URLs Together After Moving a Store
If the live domain is active but the XML still contains the test domain, search engines receive conflicting addresses. Check all signals using a few representative URLs…
If the live domain is active but the test domain remains in the XML, conflicting addresses are sent to the search engine. Include all signals in acceptance testing using a few representative URLs.
Choose four pages
Select the home page, a category, a product, and a post whose previous path has changed. The HTTP status, final URL, canonical, robots header, and sitemap entry must be consistent with one another.
Connect the transition
Set up single-step permanent redirects for old URLs that have genuine equivalents. In the sitemap, use the new canonical URLs instead of the old paths that redirect. Do not open administration or staging pages to search engines.
Next day
Track discovery and indexing status in Search Console. Server access logs show which old URLs actually receive requests. Fix the path with increasing errors before the others.
Using an example
Export one of the 10 URLs in the sitemap and check its HTTP status and canonical URL together. Even a single image pointing to the old domain may require the media mapping list to be reviewed again.
Does submitting a sitemap mean all products will be indexed?
This helps with discovery. Indexing depends on the page's accessibility and the search system's decision.
Related reading
- Group Campaign Products in Merchant Center with custom_label
- item_group_id and variation URLs in Merchant Center
Technical resource: Official implementation guide