How to do if canonical link not in head section shopify

Hi, there,

The seo inspector showed that canonical link not in head section. How can I fix it?

Hi @mythgreece ,

To fix the canonical link issue:

  1. Go to Online Store > Themes > Actions > Edit Code.

  2. Open theme.liquid in the Layout folder.

  3. Add this inside the section if it’s missing:

  4. Save and test using your SEO Inspector.