Menu
Feedback
Start here

Known issues

Known issues
Canonical tags are not applied after 3rd category level
Store Framework
ID: 932349
Backlog
Published on11/8/2023
Last updated on10/10/2024
1 min read

Summary

Canonical tags are not applied after 3rd category level when having a category tree with more than 3 levels (department, category and subcategory), the other above levels aren't displayed in canonical. The only exception is when the routes are stored in rewriter.

Simulation

  1. Create any 4th level subcategory
  2. Access the page created
  3. Check the Canonical for it on the console, it will not show anything after the 3rd level. Only 3rd and bellow.

Workaround

Run the bootstrap query on rewriter vtex.routes-bootstrap@0.x:

{bootstrap{categories}}

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback