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

    (@chouby)

    Could you please try this ?
    Edit the file include/core.php at line 252 (in v0.7) – just before wp_redirect($url); – and replace:

    $url = home_url('?lang='.$this->curlang->slug);

    by

    $url = $this->add_language_to_link(home_url(), $this->curlang);

    Thread Starter bitbusters

    (@bitbusters)

    Thanks! It works! I admire the way you manage your code to be able to trace and debug all those tiny details…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Polylang] Homepage language autodetect redirects to not pretty URLs’ is closed to new replies.