Reported for: WPML Multilingual CMS 22.214.171.124
Problem exists only on websites where
siteurl option includes trailing slash and WPML is configured with different domain per language.
This trailing slash is not visible on Settings->General page. You have to check this directly into the database in
Fix to this problem will be released in the next version of WPML.
Meanwhile, to fix the problem, please follow below steps:
- Make sure that you have latest website backup.
- Make sure that you have latest version of WPML (126.96.36.199) installed.
sitepress.class.phpfile and find line 6463
- Find the following line:
$this->settings[ 'language_domains' ][ $default_language ] = $wpdb->get_var( "SELECT option_value FROM $wpdb->options WHERE option_name = 'siteurl'");
- And replace it with:
$this->settings[ 'language_domains' ][ $default_language ] = $absolute_home_url;