Support » Plugin: Multiple Domain » WPML Go Global program

  • Resolved paul8998



    Recently I had issues with multiple domains on my website. When I clicked the logo or the shop now link I was being redirected from the second domain to our first domain. This issue is resolved, but now there is an issue with WMPL plugin. When I switch languages, it redirects me to the first domain. I have forwarded this question to WPML support and since The Multiple Domain plugin is not listed in their compatibility list for the plugins they requested me to contact the Multiple domain plugin author to apply for their Go Global program.

    Thank you.

    Best regards.

    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



    The Multiple Domain doesn’t play well with WPML, Polylang or any other plugin that relies on domain/subdomain changes to show content, i.e. one (sub)domain per language. In any case, I’ll take a look at those docs and see if it’s possible to make them compatible. If needed, I’ll get in touch with WPML support team.


    Gulshan Kumar


    I use WPML and Multiple Domains plugin.

    At homepage (Be it Traditional Archive or Custom), the Language switcher URL and Hreflang path was not rewriting as per my Alias domain added in Multiple Domains.

    I could fix my problem INSTANTLY by adding below code. 😍

    // Show alias at Homepage as well
    function filter_wpml_active_languages( $home_url) {
        if (class_exists('MultipleDomain')) {
            $multipleDomain = MultipleDomain::instance();
        return $multipleDomain->fixUrl($home_url);
    // add the filter
    add_filter( 'wpml_url_converter_get_abs_home', 'filter_wpml_active_languages', 10 );


    I will update here if I notice any issue. So far looks good to me.

    Thanks & Regards,

    • This reply was modified 1 year, 9 months ago by Gulshan Kumar. Reason: added emoji
    • This reply was modified 1 year, 9 months ago by Gulshan Kumar.
    • This reply was modified 1 year, 9 months ago by Gulshan Kumar. Reason: Added more clear info after testing Archive version as well
    Plugin Contributor Gustavo Straube


    Hey @paul8998

    I just signed up for their Go Global program. I’ll keep you posted.

    Plugin Contributor Gustavo Straube


    I still didn’t have any free time to work on officially supporting WPML. I’m closing this topic, though. Further discussions on this feature should happen on the related issue, on GitHub:

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WPML Go Global program’ is closed to new replies.