Sitemap generation of the sales channel
Check product activity, category assignment and sales channel of the Sitemap entry. A data set can exist and still be missing in the called Storefront channel.
Check the part files mentioned in the Sitemap index and their up-to-dateness. For self-managed installations, the rebuild depends on the set up update strategy; in SaaS, the sitemap is managed by Shopware.
How to fix the issue in Shopware
- Retrieve the sitemap via the specific sales channel domain. Compare affected products with activation and sales channel allocation and check the status of the generated sitemap. A sitemap of another sales channel is not a suitable proof of this URL.
- 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 Shopware
After a product change, retrieve the affected channel. If the file remains obsolete, check the configured generation instead of manually editing the compressed XML file.
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: Shopware 6 with Storefront. Self-hosted and SaaS offer different access and configuration options; view your own headless frontends separately.
Classify the general error
Definition, system-independent causes and further correction examples: Differentiate deleted and accidentally missing pages