Hello there, our e-commerce /seo Tool SEMRush notified us that several of our products are have Conflicting hreflang tags and rel=canonical tags i.e. https://www.qonqer.nl/collections/accessoires/products/charger I noticed that this is the case for all our ebike accessories.
I am wondering if it is:
The idea of hreflang is that you have entirely different page URL's for different language content.
From what I can tell you are dynamically (JS) replacing content on-page on the same URL. Google won't see any of the alt languages in your existing site & the entire setup really needs a change.
You can either use Shopifys built in multi-lingual approach (examples) or you can setup separate Shopify instances on subdomains (examples) or on gTLD domains (examples)
Personally I'm a fan of using completely separate stores for each country with gTLDs for relevancy & trust benefits to SEO & search ads in each of those locations.
It looks like you're using Weglot to manage the hreflang tags.
@KieranR URLs are generated through the app with language-specific pages, though the URL on the user-front remains the same. If you append /a/l/fr/ to URLs (more info) you can see this in the french language.
I'm guessing you're not using the weglot hreflang tags. Is weglot_hreftags.liquid file include in your theme.liquid file? If it is, what's in your weglot_hreftags.liquid file?
Weglot has been the go-to multi-lingual solution Shopify expert developers have relied on. However, Shopify in their cross-borders growth, have recently rolled out a new language feature in your store's settings. You'll still need a language app to go with it. Sherpas Design is also a good free one. For more information, go to https://help.shopify.com/en/manual/cross-border/multilingual-online-store
After hearing and seeing many headaches with hreflang tags in Shopify over the years, I decided to solve it. If you have multiple stores, you can now have different pages and different handles in any content type, and have your hreflang tags correctly setup. See the Multi-Store Hreflang Tags app.
@Josh_Uebergang that looks awesome!
Is there a detailed technical explanation of how the app works with screenshots, diagrams videos etc? Does it maintain an external database of site product SKU's and match rules and sync down into metafields and implement via liquid?
Imagine a case where there are 3x Shopify stores with nearly identical product catalogs. But one SKU in particular is live on two stores, not the third (404). How does the app handle this case?
@KieranR No videos yet, but I will do that eventually.
Basically, yes. You get a visual mapping interface like a spreadsheet. It syncs into meta fields and pushes through liquid.
Products not live, like any other page type, are not included in the hreflang tags. Like you say, 404s would otherwise pop up all over the place.