All things Shopify and commerce
Hi!
I am troubleshooting a webstore: https://strawbystraw.com/
The website has two sets of hreflang-codes, sitewide.
Set 1:
<link rel="alternate" hreflang="x-default" href="https://strawbystraw.com/">
<link rel="alternate" hreflang="en-BE" href="https://strawbystraw.com/en-be">
<link rel="alternate" hreflang="en-NL" href="https://strawbystraw.com/">
Set 2:
<link rel="alternate" hreflang="nl-NL" href="https://nl.strawbystraw.com/">
<link rel="alternate" hreflang="nl-be" href="https://be.strawbystraw.com/">
<link rel="alternate" hreflang="de" href="https://de.strawbystraw.com/">
<link rel="alternate" hreflang="fr" href="https://fr.strawbystraw.com/">
<link rel="alternate" hreflang="sv" href="https://sv.strawbystraw.com/">
<link rel="alternate" hreflang="es" href="https://es.strawbystraw.com/">
<link rel="alternate" hreflang="da" href="https://da.strawbystraw.com/">
<link rel="alternate" hreflang="el" href="https://el.strawbystraw.com/">
<link rel="alternate" hreflang="fi" href="https://fi.strawbystraw.com/">
The second set points towars the home of the subdomain, even from the individuall pages.
The first set does point towards individual pages, but doesn't include all the subdomains; and points towards url's that will be changed at a later point in time.
What I would like to achieve is proper hreflang-tags; which means removal of the tags above; and replacing them with tags that point towards specific pages in that language.
Any help would be greatly appreciated.
I've dealt with hreflang setup in the past and can tell you it's complex.
My advice would be to see where the current tags come from and remove them (probably some SEO app)
And then check if there is an app that can help you with the correct hreflang setup.
You need specific setup for each product page and doing it manually won't be fun.
I saw there were a couple apps in the app store that claim to do that and work with Shopify markets.
Good luck.
As K_Br4 mentioned with apps, Digital Darts: Hreflang Tags is one, which we own. Our support help users remove any other duplicate hreflang tags so your hreflang tags are perfect.
Looking at your theme's source file, the second lot of hreflang tags are probably inserted through your theme.liquid from a customization done by a developer.
If you have another Shopify store, these URLs need to be in your hreflang tags, which Shopify can't handle by default. It's what our app solves.
If you want more help with hreflang tags to understand this complex area of SEO in Shopify, you can read https://www.digitaldarts.com.au/hreflang-tags-shopify
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024