Background of the issue:
I use WPML for my multilingual site with different subdomains for different languages. The German subdomain is de.natourest.ee, and the default page is in English at natourest.ee. I want to switch between languages on my site.
Symptoms:
When switching from a German page to English, if there is no English translation available, a 404 Page Not Found message appears instead of redirecting to the English front page. This issue does not occur when switching from German to Estonian or from English to German.
Questions:
How can I fix the issue of getting a 404 error when switching from a German page to English if no translation is available?
Please ensure that the option "Link to home of language for missing translations" is enabled in WPML under Settings > Language Switcher Options, located in the "How to handle languages without translation" section.
If the issue persists, check if there is a translation in different statuses for the page and delete it.
If the problem still continues, please provide the links where the issue can be observed.