Background of the issue:
I am trying to set up WPML with different domains for different languages. The default language is set to amberglow.lt, and I want amberglow.lv to be for the Latvian language. However, when I visit amberglow.lv, I am redirected to amberglow.lt. I have set the language as hidden but made it visible in my admin profile.
Symptoms:
When I go to amberglow.lv, I am redirected to amberglow.lt. The same redirection occurs when I use the language switcher.
Questions:
Why am I being redirected from amberglow.lv to amberglow.lt?
How can I properly configure the language switcher to prevent redirection?