Published shop content and automatically generated sitemap
Check the publication status and public availability of the product or collection. Do not edit the automatically managed sitemap as an independent static file.
The sitemap of the online store is generated by Shopify. Therefore, check the underlying publication and the products, collections or pages actually listed. A locally edited sitemap.xml cannot be used as a permanent platform rule as with your own hosting.
How to fix the issue in Shopify
- Open /sitemap.xml and the product, collection or page file referenced there. Check the publishing status in the online store and the domain of the relevant market. The XML file managed by Shopify is not corrected by its own static replacement file.
- Remove the deleted record from the sitemap provider. If the content moved, replace its old entry with the final URL; editing the cached XML file alone will not persist.
Start with one affected page or template. Check its output before applying the correction to other pages.
Example of this specific finding
Illustrative control case: The sitemap calls /product/expiration model/, this URL provides 404. The product was either deliberately removed or disappeared due to a routing error.
follow-up audit in Shopify
Compare the affected URL in the public part-sitemap and in the store. In the case of an unavailable product, first clarify publication and target content.
Upon final removal, take the record from the sitemap selection. In the event of unintentional unreachability, restore the URL or set a suitable final destination.
How to verify that the fix worked
Fetch the sitemap again after its normal regeneration. The old entry is absent and the new destination returns 200 without a redirect.
Check a sitemap and its URLs: Check whether the published sitemap URLs are accessible and match the pages you want indexed.
Derogations and scope
A deleted page may correctly deliver 404. The contradictory inclusion in the sitemap is the part to be checked here.
Related: Shopify Online Store with Liquid-Theme. Hydrogen or other headless storefronts have their own rendering and hosting responsibilities.
Classify the general error
Definition, system-independent causes and further correction examples: Differentiate deleted and accidentally missing pages