I’m setting up a Collection for a page that needs to be on several languages. So every item will have their own language. I’m using Webflow functionality so that every Item could have their own SEO and I’m using a script so that every item will have their own language attribute. I want to know if any SEO expert sees any problem with this setup? From my point view it looks pretty solid.
In this situation the html lang isn’t what’s important, it’s hreflang, and the canonical URL. Possibly you can modify your code to insert the hreflang and canonical programmatically?
You need to set the hreflang for each page, and also a canonical link. If the hreflang and canonicals are set correctly it doesn’t necessarily matter if the URL structure isn’t consistent. HOWEVER, what you can do if you use subfolders for each language is submit each folder as a property to Google Search Console and set its international targeting, which will also help.
I changed so that I have a hreflang instead of lang now. I trying to understand canonical. Is my collection items considered identical even though they are on different languages and have a specific language code?
Ok, I think (maybe) I got it now. In my particular case I have a homepage thats similar to a collection page in, they’re identical but have different url’s. So then I want to put a canonical url on my collection page pointing to the homepage telling this is real one. Doing this I need do it in a smilier way I did with hreflang but the problem is the other pages in the collection don’t need it. I have two options leaving it blank or point it to self. Or third option, I could point the homepage to the collection page. Witch one would be better, @CircleWorks? And another question. Does pages with the same content but on different languages count as duplicated content?