Product page, variants and WordPress SEO output
Check fixed canonical values on previous product or category addresses. A distant variant must not be continued as an unattainable main goal.
Compare the main variable product with called variant and category paths. The SEO plugin can set the preferred URL, while a customized product template also inserts its own canonical.
How to fix the issue in WooCommerce
- Compare the standard product URL with a variation URL or a URL containing a category path. Check the active WordPress SEO plugin’s canonical rule and any custom theme output. Selecting a product variation does not, by itself, justify a separate indexable product page.
- 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 WooCommerce
Open a specific variant selection directly and compare it with the main product. The desired URL must match the visible product, price and selection status.
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.
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 preferred target must have the intended content