Add hreflang tags in Shopify

An hreflang tag is a link element that identifies a localized URL of a website. You should add a unique hreflang tag for each language or region URL that exists, and they should be included in the , which is commonly found in theme.liquid.

<head>
  <!-- head element content -->
  <link rel="alternate" hreflang="en" href="your-store.myshopify.com" />
  <link rel="alternate" hreflang="es" href="es.your-store.myshopify.com" />
</head>