• Resolved stschuepbach

    (@stschuepbach)


    Everything is working fine. But I want that the visitors land on the language which is set as constant in the Multi Domain Plugin. So I set the language constant for different domains e.g. sample.fr to French (France) or sample.co.uk to English (United States) but I always land on the German version which is the standard language ofthe page. WPML language setting is “languages in directories” e.g. sample.com/en/

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Hello,

    For your use case, I’d recommend setting WPML to use language in domains, instead of in directories. Then, you don’t even need Multiple Domain plugin, since WPML will handle the multiple domains.

    The language option in Multiple Domain settings is only used to render hreflang links, for SEO purposes. It has no relation with WPML.

    Regards.

    Thread Starter stschuepbach

    (@stschuepbach)

    Hi,
    I tried this before but I am unhappy with this solution because WPML allows only a 1:1 relation e.g. .com – English, .de – German, .fr – French. But I have beside those more domains like .ch – German, .co.uk – English. And for those I hoped that I can use Multiple Domain plugin, which would keep the .ch or the .co.uk in the url at the right language page. I will look for another solution. Thanks.

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Hello,

    This is an old tutorial from WPML but perhaps you can give it a try: https://wpml.org/tutorials/2016/04/use-wpml-different-domains-per-language/. It’s supposed to help you enabling multiple domains per language.

    Thread Starter stschuepbach

    (@stschuepbach)

    Hi,

    Many thanks. I found that page to and try to understand ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Language constant has no effect of the language’ is closed to new replies.