Problem: If you're experiencing an Internal Server Error on the French version of your website after using WPML to translate from Arabic to English and French, the issue might not be with the .htaccess file itself. Solution: We recommend trying the workaround detailed in this documentation: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/. You should add the workaround to the
functions.php
file of your parent theme. However, to avoid losing this change during theme updates, we suggest switching to a child theme and adding the workaround there.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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.