Created
January 16, 2017 21:51
-
-
Save joe-dempsey/38e4f9d848eacaba2f6562bc43e9652f to your computer and use it in GitHub Desktop.
hreflang tags shopify liquid template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="alternate" hreflang="x-default" href="{{ canonical_url | replace: shop.domain, 'www.mystore.com' }}" /> | |
<link rel="alternate" href="{{ canonical_url | replace: shop.domain, 'www.mystore.com' }}" hreflang="en-GB" /> | |
<link rel="alternate" href="{{ canonical_url | replace: shop.domain, 'www.us.mystore.com' }}" hreflang="en-US" /> | |
<link rel="alternate" href="{{ canonical_url | replace: shop.domain, 'www.mystore.com' }}" hreflang="en" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment