{"section":"known-issues","requestedLocale":"en","requestedSlug":"canonical-tag-on-custom-pages","locale":"en","slug":"canonical-tag-on-custom-pages","path":"docs/en/known-issues/Marketing & Merchandising/canonical-tag-on-custom-pages.md","branch":"main","content":"## Summary\n\nThe canonical tag on custom pages, from the second level onwards, directs only to the first level.\n\nExample:\n\nThe folder `/institutional`, directly in the site's root, will have the canonical tag pointed correctly to `www.website.com/institucional`.\n\nThe folder `/institucional/our-stores`, being a subfolder, will have the canonical tag pointed incorrectly to `www.website.com/institutional`, while it should point to `www.website.com/institucional/our-stores`.\n\n## Simulation\n\n- Enter the __CMS__;\n- In Layout, create any two folders, one contained within the other;\n- Associate HTML templates so you'll have content;\n- Access the page on the store's front end;\n- Check the canonical tag that was printed in the second folder of the hierarchy.\n\n## Workaround\n\nBecause it is a customized content, the best way to get around this problem is to disable the canonical tag using the following [control](/en/tutorial/list-of-controls-for-templates): `<vtex.cmc:canonicalPage disable=\"true\"/>`. Then manually create the canonical tag for each page.\n\nSuggestion: Use [placeholders](/en/tutorial/how-to-customize-a-page-using-placeholders) in the template to have a settings field in each layout/folder that uses these templates."}