What it looks for
The product page names its canonical address, and variant links are real addresses rather than # fragments. Read from the product page's code.
- Pass: An absolute canonical link is present, and nothing suggests variants live only in # fragments.
- Partial: The canonical link is not a full address (https://...), or the page has # links and mentions variants, colours or sizes but has no variant link with a query or a path.
- Fail: No canonical link.
How it is checked
- Fresh browser. Signed out, cookies cleared, desktop and mobile viewports, the store's live theme.
- Open a product. A real, in-stock product page, found the way a shopper finds one.
- Read it like an agent. The markup and structured data a shopping agent reads, not the layout.
- Record the verdict. Pass, partial or fail, saved with the evidence it was judged on: a screenshot where the rule is visual.
Why it matters
Canonical URLs tell search engines and AI agents which URL is the real one for this product. Fragment-only variant URLs cannot be shared or bookmarked and get lost when an agent tries to reference a specific variant.
How to fix it
- Add <link rel="canonical" href="https://your-store.com/products/xyz"> in the <head> of every product page. Use the absolute URL.
- Make variants change the URL by path or query: /products/xyz?variant=red or /products/xyz/red, not /products/xyz#red.
- Every variant URL should be sharable and land on the correct variant when opened cold.
What the xfix ux team says about this rule
A variant URL that changes shape breaks every link an assistant ever made to it.
Drafted by the xfix ux team and approved on 22 Sept 2026.
Sources
How to cite it
0 of 38 online stores audited by xfix ux fail the rule "Canonical URLs stable; variant URLs machine-readable and permanent" (PDP-A04) as of November 2026. xfix ux, xfix.ai/ux/rules/stores/stable-canonical-and-variant-urls/
Questions
What does PDP-A04 check?
The product page names its canonical address, and variant links are real addresses rather than # fragments. Read from the product page's code.
What counts as a pass on PDP-A04?
An absolute canonical link is present, and nothing suggests variants live only in # fragments.
What counts as a fail on PDP-A04?
No canonical link.
How many stores fail PDP-A04?
0 of the 38 published store audits that judged it fail it (0%), as of 29 Nov 2026.
Why does PDP-A04 matter?
Canonical URLs tell search engines and AI agents which URL is the real one for this product. Fragment-only variant URLs cannot be shared or bookmarked and get lost when an agent tries to reference a specific variant.
How do I fix a fail on PDP-A04?
Add <link rel="canonical" href="https://your-store.com/products/xyz"> in the <head> of every product page. Use the absolute URL. Make variants change the URL by path or query: /products/xyz?variant=red or /products/xyz/red, not /products/xyz#red. Every variant URL should be sharable and land on the correct variant when opened cold.