Hi, we’re building a website in Latin America, wanting to target multiple countries and do a subfolder for each one. The language will be Spanish on each of them, but we want the hreflang added correctly to each separate folder.
Eg /peru/, /mexico/, /colombia/, etc – all need a separate language-location code, like es-pe, es-mx, es-co.
The content does not need translating and will be slightly different on each folder. It will almost be like a separate site on each folder (same design).
How can I make WPML designate the correct hreflang to each folder like this?
Please make sure that you do not have that language as the default language.
If the problem persists, I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.
In general, I suggest that you avoid using the reserved codes for languages listed here:
hidden link
For example, a common mistake people do is to add a custom language for Bulgarian and add BE as the code.
It will work ok, but as BE is reserved for Belarussian language, sometimes you will see in the Chrome browser that the pages in Bulgarian are suggested to be translated in Belarussian.
Thanks.
The topic ‘[Closed] Assign hreflang to multiple subfolders, in same language but different country’ is closed to new replies.