Country and Language Specific URL Paths
-
Wanted to ask everyone a questions: So our company is going to be doing a website that is going to be full of videos. The url path will be country.domain.com/language/slug/content-id. We redirect the user when they go to the different country. So if you're in spain on a train to france your URL will change from es.domain.com/es/slug/content-id to fr.domain.com/es/slug/content-id. Each country can listen to each video in all languages.
My question is with hreflang tags and canonicals. Aside from targeting users in a certain country via Google Search Console, how do I eliminate duplication and tell Google which I'd like to show up via which country. In spain I would like es.domain.com/es/slug/content-id to show in Google and would have hreflang tags on each of the es.domain pages but what about fr.domain.com/es/slug/content-id since it would show the same content? I can't canonical to one of them since I need them to show in their respective country. How do I show the difference in language and country without showing duplication?
-
Howdy.
So, the only way to achieve what you do is to use hreflang pointing to subdomain of the same language. Basically, this fr.domain.com/es/slug/content-id would have hreflang to es.domain.com/es/slug/content-id.
I don't see any other way, since the content will be literally the same.
-
This same question has more answers at this URL: https://moz.com/community/q/international-url-paths. so I close this thread for not having split them.