How can I resolve href lang issues with Impulse theme?

Topic summary

A Shopify store owner using the Impulse theme is encountering hreflang and canonical tag issues flagged by SEMrush site audit.

Core Problem:

  • Product URLs include collection names (formatted as product.url | within: collection)
  • This creates multiple URLs for the same product, triggering duplicate content warnings
  • The hreflang tags are auto-generated by the theme with no editing section available

Attempted Solution:

  • User tried adding a custom canonical tag: <link rel="canonical" href="{{ canonical_product_url }}">
  • This resolved some issues but still causes duplicate content flags across different product URLs

Open Question:

  • Seeking advice on whether it’s possible to keep collection names in product URLs while resolving the canonical and duplicate content issues

The discussion remains unresolved, with the user awaiting guidance on how to properly configure canonical tags or modify the theme’s URL structure.

Summarized with AI on November 10. AI used: claude-sonnet-4-5-20250929.

Hi @YasminAshraf ,

What theme are you using on your storefront? What tool did you use to audit your site here?