You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2021. It is now read-only.
This plugin is not compatible with WPML nor any other plugin that relies on domain changes to work. This is a known issue for a while but there is no fix on the way. You can follow some discussions in here.
Yet, in case you simply need to have 1 domain per language, WPML handles that for you alone. There is no need to use Multiple Domain plugin. You just have to set it to use language in domains.
Thanks for the info. The discussion you sent me seems to be quite promising, am I missing something here? Could this not be tested [and applied]?
`// 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 );`
This may not be going global according to WPML but seems to be a quick fix until then.
Describe the bug
Menu links are not changed, they are still showing the default language links instead of the newly added domain.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
Links in the Main Navigation Menu to change according to the new domain added.
Screenshots
Get back to me if needed.
Environment:
Additional context
I am using WPML and have a different domain for each language:
and so on.
It would be great if I could use the permalinks with the new domain:
this is only possible with the default language, not other domains set in WPML
The text was updated successfully, but these errors were encountered: