• Resolved aophieap

    (@aophieap)


    Hello,

    I tried to connect another domain name to a part of my website but it seems that it does not support the pages translated with WPML.
    o I make a test trying to connect the Irish home page with boiteathe.fr (page only in English): it works if I say that the Candidates “IRELAND”+ Contact “IRELAND” + Clients “IRELAND” Pages are daughters of Home page “IRELAND”
    o I make a test trying to connect the “SPAIN” website and it worked for the English version but not the Spanish version (as I cannot say that there are daughters pages of “home SPAIN” in english.
    o I make a test trying to connect the FRANCE website but it does not work and I think it has something to do with the fact that the website is only in French. When I try to go on boiteathe.fr, I got an error message “boiteathe redirected too many times”
    So not sure that it is compatible with WPML.

    Is there a solution with your plug in?

    Thanks for your help,

    Sophie

    • This topic was modified 6 years, 9 months ago by aophieap.

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

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author matthias.wagner

    (@matthiaswagner)

    hy ??
    do you have the automatic redirection to browser-language active? if yes, this is very likely a problem.

    please check that and report back if you still have troubles

    Thread Starter aophieap

    (@aophieap)

    Hello Matthias,

    Thanks for your reply, this option was disabled.

    Then you can see right now that you can connect to the website SPAIN in english (https://boiteathe.fr/) but if you go on the spanish version, it does not work and you have the wrong domain name (https://www.theoolong.com/es/inicio-espana/).

    Same when I try to set up a domain name on the pages FRANCE that are only in french, the redirection did not work and I have an error message “too many redirections”.

    For now I making the test on the SPAIN pages so my settings are:
    https://boiteathe.fr <=> https://www.theoolong.com/home-international/home-spain

    I make different test to have the spanish version of the SPAIN website going with the domain name “https://boiteathe.fr&#8221; but nothing work. What should I do?

    Thanks a lot for your help,

    Sophie

    • This reply was modified 6 years, 9 months ago by aophieap.
    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy sophie,

    unfortunately i can not do extensive testing right now. but i do now that wpml allows you to use different domains per language (https://wpml.org/2016/04/use-wpml-different-domains-per-language/). maybe this setting is more convenient for you to use?

    since it is very likely that they use the same actions and filters like we do, a combination could be risky to use…

    mat

    Thread Starter aophieap

    (@aophieap)

    Unfortunately, their solution does not fit our needs as we have pages having the same languages but not the same domain names (so we cannot use one domain name per language). For instance we want the website GERMANY in english and in german connecting to https://www.domainname.DE but we also want the website SWITZERLAND in french, english and german connecting to https://www.domainname.CH.

    Do you know if your plug in could manage that? Could you try it out? Because for now it works on the english pages, it just does not work on translated versions so maybe I miss one setting?

    Thanks a lot for your help,

    Kind regards,

    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,
    we did not test it out with wpml so far, so i can not say it. unfortunately there is absolutely no time for tests and further releases by now ??

    please try to sketch your sitemap so it is easy to understand for me – as well as your real domains. also please give me a screenshot of your settings.

    and also never forget to clear your browser-cache while playing around with those things!

    matt

    Thread Starter aophieap

    (@aophieap)

    Hello Matt,

    thanks a lot for your help. So here is the site map:
    https://www.theoolong.com/wp-content/uploads/2018/02/SITE-MAP.pdf

    The pages Home Switzerland/Germany/Spain/France are daughters of page Home International. Then the pages Employers/Candidats/Contact Switzerland/Germany/Spain/France are daughters of the home page matching the locations.

    So for now I just making test and don’t have all the domains names but the goal is to have:
    – the pages SWITZERLAND connecting to https://www.theoolong.CH (english, french and german versions)
    – the pages GERMANY connecting to https://www.theoolong.DE (english and german version)
    – the pages SPAIN connecting to https://www.theoolong.ES (english and spanish version)
    – the pages FRANCE connecting to https://www.theoolong.FR (english and french version)

    So right now I have “https://www.theoolong.com/&#8221; that is the general url connecting to the website and I have “https://boiteathe.fr&#8221; that I would like to connect to the pages SPAIN (english and spanish version).

    Here are the settings that I set up: https://www.theoolong.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-27-at-13.32.59.png

    It works for the pages SPAIN in english but not for the spanish version of these pages, that’s why I think there is a problem with WPML because I cannot say that the Home Page SPAIN in spanish is the daugther of the home page SPAIN in english.

    Is it clear enough? Please let me know,

    Kind regards,

    Sophie

    • This reply was modified 6 years, 9 months ago by aophieap.
    • This reply was modified 6 years, 9 months ago by aophieap.
    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy sophie,

    *) i think you should not treat the corresponding language-pages as child-pages of the english version. usually they should be on the same level.
    *) check if you have correct linkings between all pages in the different languages
    *) try not to set the language as part of the url but as parameter (?lang=es) first, so you can see if the mapping works fine
    *) have a look at your permalink structure. it is different e.g. for https://www.theoolong.com/home-international/home-ireland/ or https://www.theoolong.com/fr/home-france/

    so you should end up with such a structure:

    /home-international/
    	/home-international/employers/
    	/home-international/candidates/
    	/home-international/contact/
    	/home-international/switzerland/
    	/home-international/switzerland/?lang=fr
    	/home-international/switzerland/?lang=de
    		/home-international/switzerland/employers
    		/home-international/switzerland/employers?lang=fr
    …

    -> then you can map the switzerland-domain to /home-international/switzerland as you have done right with the spanish version already.

    -> i guess it won’t be possible to set the language with the url, since wpml will try to put it right after the domain and it will conflict with the addon-domains :/

    hope this helps ??

    Thread Starter aophieap

    (@aophieap)

    Hello Mathias,

    Thanks a lot for your answer and for your help.

    So I have follow your advice and not to set the language as part of the url but as parameter (?lang=es) first.

    I got a second domain name to make tests. So I have:
    – boitheathe.fr <=> https://www.theoolong.com/home-france
    – sellingteaonline.com <=> theoolong.com/home-international/home-switzerland

    Regarding the corresponding language-pages as child-pages of the english version. I actually does not have control over this as it is WPML that set it up. But here is how WPML set it up, if we take as an exemple the pages SWITZERLAND:
    – In english: theoolong.com/home-international/home-switzerland
    – In German: https://www.theoolong.com/home-schweiz/?lang=de
    – In French: https://www.theoolong.com/accueil-suisse/?lang=fr

    So the test is working for the pages FRANCE that only have one language (in french). But it does not work for all the PAGES Switzerland. It only works on the English pages, but not for the French and German pages. Which settings do I have to change to make it works?

    Thanks a million for your time and your help,

    Kind regards,

    Sophie

    Plugin Author matthias.wagner

    (@matthiaswagner)

    it is pretty obvious that it can not work if they do not share the same url base. that is described in the basic description of my plugin.

    sellingteaonline.com mapped to theoolong.com/home-international/home-switzerland can not be effective on an url like theoolong.com/home-schweiz:

    /home-international/home-switzerland !== /home-schweiz

    you can have control of your urls with wpml. please try to find out how to use this plugin and set up a proper permalink-structure before playing around with the next steps. if wpml is too difficult, try polylang.

    Thread Starter aophieap

    (@aophieap)

    Hello,

    I was hoping that you’re plug in was compatible with WPML and will understand that that /home-schweiz is a translation of home-international/home-switzerland.

    But it is pretty obvious as you said that it is not such an advanced plug in.

    However, it will work for me. I just need to link one specific domain to each localisation/translation. So for the Swiss website, I will need 3 urls, one for each translation, but that should work.

    So thanks a lot for your amazing work and support, it solves one of my biggest technical challenge with my website.

    Have a very good day

    • This reply was modified 6 years, 7 months ago by aophieap.
    Plugin Author matthias.wagner

    (@matthiaswagner)

    hy,

    thanks for your feedback – glad to hear you found a solution ??
    maybe you have another minute for a positive review? ??

    matt

    Thread Starter aophieap

    (@aophieap)

    Already done ?? and with 5 stars, you deserve it ??

    Thread Starter aophieap

    (@aophieap)

    Hello there,

    Somehow I got trouble today with the plug in while it was working before so not sure what I did wrong. I had set up a redirection for the GERMANY pages (children of home-germany) like:
    https://sellingteaonline.com <=> https://www.theoolong.com/home-germany
    I can navigate perfectly with the english menu but when I am going on the german translated pages, and then I try to click on different items of the menu, I am redirecting to the admin page: https://www.theoolong.com/wp-admin/ instead of the translation into german of the pages. Only the home page in german does not make trouble, but the “KANDIDATEN” / “ARBEITGEBER” / “KONTAKT” drive to the admin page.

    However I have set up the domain “https://boiteathe.fr&#8221; for the FRANCE pages (only in one language) and it works perfectly.

    Could you please check it out and let me know?

    Thanks a lot for your help

    Plugin Author matthias.wagner

    (@matthiaswagner)

    if you see some different behaviour that earlier, this is either because of caching problems (clear whole browser cache and/or try different browsers; disable cache entirely while setting up the plugin) or because of other settings, maybe in your permalink structure or in this case wpml-settings.

    you must really understand that this is a very special usecase, that i can not dive in deeper in this free support. we are very, very busy right now in our main business ??

    hope this helps,
    matt

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Compatibility WMPL’ is closed to new replies.