Dear community,
I have a big issue on my website that is still not indexed by google due to problem on sitemaps and duplicated content…
Okay I have a website in 2 languages, so I have created 2 directories into “Markets” as it seems to be the best practice “fr-ch” and “en-ch”. The 1st consequence is great as I have hreflang automatically generated. But the big problem I encounter is the 4 product sitemaps generated by Shopify (actually the issue exists. for products / pages / blogs / collections)
1 in French without “fr-ch” in the URL => all content is 302 redirected to the /en/ equivalent
1 in English without “en-ch” in the URL, just “/en/” => all content is 302 redirected to the /en-ch/ equivalent
1 in French with “fr-ch” in the URL => 200, no redirection
1 in English with “en-ch” in the URL => 200, no redirection
Does anybody knows how can I tell Shopify to JUST create the sitemap for “fr-ch”, “en-ch” as per the definition in “Markets” ? Meaning the 1st 2 blocks should not be generated.
Thanks a lot @tim_1. I actually have juste 1 market, but 2 languages. The screenshot shows them from “Domain / language” of this Market. Maybe yes I did it wrong, so you would recommend to simply delete those directories and keep as you suggest /en and the other primary language?
Website is live since 1 month but total mess as I didn’t see the sitemaps, and so the URL mess it created.. I anyway need to do something. I will keep the /en and potentially others /LL as the locals, keeping just the correct sitemaps. /en-us/ or /fr-ch/ or any other are always best for SEO but apparently not really working on Spotify..