Catalog SEO Configuration and Store View Scope
Compare the destination with URL rewrites and product assignment to the website. An adopted URL key of a removed product may remain unattainable.
Compare canonical settings for products and categories in the effective configuration range. A store view can override an inherited value; layered navigation extensions can also bring in their own rules.
How to fix the issue in Magento
- Under Stores → Configuration → Catalog → Catalog → Search Engine Optimization, check product and category canonical settings in the correct scope. Also inspect URL rewrites and layered-navigation extensions. Do not hide a store-view-specific issue behind a global setting.
- Replace the stored canonical with the intended, reachable primary URL. A self-reference may suit an independent source page; another page is not automatically an equivalent replacement.
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: /article/? ref=mail refers via canonical to /alter-article/, the target answers with 404. The preferred address no longer contains the intended article.
follow-up audit in Magento
Compare a product via direct and category path as well as a filter page. Do not force all filter combinations to the same address without checking their contents.
Determine the appropriate achievable goal and correct the canonical source. Then retrieve the source page and destination separately.
How to verify that the fix worked
The canonical target returns 200, contains the relevant content and is not excluded by noindex. Check a second page using the same template as well.
Check the canonical target: Compare the preferred URL with its HTTP status and indexability before changing a canonical rule.
Derogations and scope
Any achievable goal is not a substitute. If the article no longer exists, first clarify the publishing state instead of just the canonical field.
Reference: Magento Open Source or Adobe Commerce with classic storefront. Consider store views and extensions; other storefront architectures have their own configurations.
Classify the general error
Definition, system-independent causes and further correction examples: The preferred target must have the intended content