Background of the issue:
I am working on a site under development with multiple pages using a fallback mechanism. For example, the page 'xyz.com/fr/product/abc' is available in 10 different languages and is currently viewed in French. This page contains several relative links, including one to '/fr/product/def'. However, the DEF page is only available in English, Traditional Chinese, and Korean.
Symptoms:
When setting the relative link '/fr/product/def' in the ABC page, the frontend browser automatically displays the '/zh-hans/product/def' language code instead of 'fr'.
Questions:
How can I prevent the relative path links from changing automatically for fallback pages?