Skip Navigation

This topic contains 0 replies, has 1 voice.

Last updated by Kresimir 3 weeks ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
March 25, 2025 at 11:54 am #16856992

Kresimir

Background of the issue:
I am trying to add a domain for the main language using the 'A different domain per language' option on my site hidden link. I inspected the 'icl_sitepress_settings' option in the database and didn't find an entry for the Croatian (HR) domain under 'language_domains'. The main domain URL is not stored anywhere.

Symptoms:
The problem is that I cannot strictly specify the main domain from the Language settings. The main (Croatian) domain is always the current domain. When visiting the website frontend from any other domain than Croatian, the URL for the Croatian language will always be the current site URL, not the Croatian URL.

Questions:
How can I specify the main domain for the Croatian language in WPML?
Why is the Croatian domain not appearing under 'language_domains' in the database?

P.S. The main domain is hidden link, not hidden link. Didn't update the keys yet, we just launched yesterday.

I took a screenshot of what Croatian domain setting looks like when you visit the admin from another domain (in this case Bosnian - hidden link) - hidden link
The Croatian domain is hidden link and it should be hidden link

The topic ‘[Closed] Adding a domain for main language’ is closed to new replies.