Products and taxonomies in the active sitemap provider
After Permalink changes, check the product sitemap and its cache. A redirect can save visitors, but it does not replace an updated sitemap.
The product list in the sitemap usually comes from the WordPress/SEO integration. Check publication, visibility, and selection of product categories separately. A product not visible in the catalogue is not automatically technically unreachable.
How to fix the issue in WooCommerce
- In the active WordPress or plugin sitemap provider, check whether products and product categories should be included. Compare the publish status of the product with its listing; catalog visibility and SEO indexing rule can perform different tasks.
- Replace redirecting sitemap entries with the final canonical address. Fix the provider's URL generation so the old address does not return on its next run.
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 /performance-alt/, which redirects to /performance/ permanently. The generator uses an outdated URL source.
follow-up audit in WooCommerce
Compare an active, a removed and a deliberately excluded product after a regular sitemap rebuild. Also retrieve the actually generated product part sitemap.
Take the final desired address directly into the sitemap and test the regular rebuild. Appropriately pass forwarding for old calls.
How to verify that the fix worked
After normal regeneration, each corrected entry returns 200 directly. Check the URL's language, domain and trailing-slash format together.
Check a sitemap and its URLs: Check whether the published sitemap URLs are accessible and match the pages you want indexed.
Derogations and scope
Do not remove the working redirect, just so that the old sitemap URL returns 200.
Regarding: WooCommerce on WordPress. Block and classic product templates as well as SEO extensions can have different output locations.
Classify the general error
Definition, system-independent causes and further correction examples: The sitemap should specify the desired destination address