Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
After migrating to a new server, you might find that your multilingual domain setup with WPML's 'Different domain per language' option is not working correctly for bare domains (without www). For instance, accessing https://heatperformance.no redirects to https://www.heatperformance.nl instead of loading the correct language site.
Solution:
This behavior is expected because WPML relies on the WordPress Home/Site-URL settings, which are configured to include 'www'. Therefore, any redirection for bare domains needs to be manually set up in your .htaccess file. For more detailed guidance on configuring these redirects, please visit WPML forum topic on domain redirection.

If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Additionally, it's advisable to check related known issues at WPML Known Issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit WPML Support Forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 1 reply, has 0 voices.

Last updated by lobkeB 1 week, 6 days ago.

Assisted by: Marcel.

Author Posts
November 24, 2025 at 12:00 pm #17604701

lobkeB

Background of the issue:
Since our recent migration to a new server, we are experiencing an issue with our multilingual domain setup. We use one WordPress installation with WPML’s 'Different domain per language' option, with domains such as heatperformance.nl, heatperformance.fr, heatperformance.no, heatperformance.pl, etc. All www versions load the correct language site.

Symptoms:
Since the server migration, the bare domains (without www) do not load the correct language site. For example, hidden link redirects to hidden link and hidden link redirects to hidden link.

Questions:
Is there anything inside WPML that needs to be configured to ensure that bare domains (e.g. heatperformance.no) load the correct language version?
Or is this behavior entirely outside WPML and controlled by something else?

November 24, 2025 at 1:50 pm #17605138

Marcel
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

this is expected. WPML only works inside the WP setup that is configured as domain in your Settings. Means if your WP instance runs on hidden link., everything else happens outside of the server. The reason is that WPML uses the WP Home/Site-URL variable.

Therefore, you need to setup those redirects yourself in your .htaccess file.

More information, you can find here: https://wpml.org/forums/topic/www-not-redirecting-to-non-www-on-second-language-domain/.

Best Regards,
Marcel

November 27, 2025 at 10:12 am #17614464

lobkeB

Many thanks, Marcel!