WordPress.org

Forums

Polylang
Multiple Domain configuration (6 posts)

  1. boaretas
    Member
    Posted 1 year ago #

    Hello,
    Im currently working on a blog that needs to be accessable by many different domains p. ex. the main Domain called "domain1.com" and a second one called "domain2.com".
    WIih the new Polylang Version 1.3.1 on WP 3.8 everything works great. When I activate the plugin and call the page main Domain I get on domain1.com/en which is completely ok. But when I go onto domain2.com, I get redirected to "domain1.com/en". Correct would be if I woud come to to "domain2.com/en". SO the plugin is redirecting always to the main Domain configured in the wordpress settings. Is there a possibility to cofigure this?

    I'm looking forward hearing from you. Thanks.

    http://wordpress.org/plugins/polylang/

  2. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    By default, Polylang caches the home urls. You have to de-activate it by setting PLL_CACHE_HOME_URL to false either in wp-config.php or in (file to be created) wp-content/polylang/pll-config.php

    You need the development version to make this work as the option is not available in v1.3.1.
    http://downloads.wordpress.org/plugin/polylang.zip

  3. RockinHorea
    Member
    Posted 1 year ago #

    Thank goodness!
    PLL is awesome.

  4. navaneeth008
    Member
    Posted 1 year ago #

    HI

    I added the PLL_CACHE_HOME_URL to false in the pll-config.php inside wp-contetn/polylang

    define(PLL_CACHE_HOME_URL, false);

    but the issue still exists

    http://dev.whytakemasters.com/rules/

    i need like this

    http://fr.whytakemasters.com/rules/
    http://es.whytakemasters.com/rules/

    NOw its redirecting to the main hime domain ie the first mentioned

  5. nicoter
    Member
    Posted 1 year ago #

    Does Polylang support multiple domains at all?

    I need to setup a multi language and mutli domain environment as follows and was wondering if this can be achieved with this plugin?

    english.com
    deutsch.de
    francais.fr

    Thanks

  6. Chouby
    Member
    Plugin Author

    Posted 1 year ago #

    @navaneeth008
    @nicoter

    Please create your own topics when asking different questions. Otherwise it's too hard to follow topics.

    Yes Polylang supports multiple domains. At least it works for me. Some features do no work yet though (browser language detection for example).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Polylang
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic