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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.