• Resolved mennobouma

    (@mennobouma)


    Hello Alexandre,

    I’m using your plugin with WPML, with one language per domain. I would like to know what the best practices are, do i need to add all languages as remote sites or only the main site and use the SSO feature of WPML?

    Thanks,
    Menno

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    Hi Menno,

    I have never used WPML with 1 language per domain (only with URL query string) ; however, I understand the setup in this scenario is multiple domains => 1 WordPress install, 1 database with a single set of the user records.

    Please note that below is theoretical at this point: I neither have multiple domains available to test for this scenario, nor is WPML marked as a supported third party (and I’ll therefore mark the issue as Resolved).

    WPRUS establishes communications between multiple WordPress installs (“Remote Sites”), and the Remote Sites are only using a URL to be reached and identified internally in the settings, but are not necessarily the unique representation of a WordPress install, if you will.
    In effect, adding each domain would be equivalent to adding the same Remote Site each time, because in reality they’re all the same WordPress install, with the same database, and therefore a single set of user records.

    Following this logic, it would mean that you should only add the main site for the Remote Site in WPRUS, and let WPML do its cross-domain authentication for the language domains.

    I hope this helps and makes sense!

    Plugin Author Alexandre Froger

    (@frogerme)

    Discussion with more details for reference to the community here: https://github.com/froger-me/wp-remote-users-sync/issues/13

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Best practices with WPML’ is closed to new replies.