Discover why your Contao website's main page redirects to the English version instead of Deutsch, and learn how to address this `303 redirect` issue effectively. --- This video is based on the question https://stackoverflow.com/q/69139567/ asked by the user 'EniGma' ( https://stackoverflow.com/u/3198785/ ) and on the answer https://stackoverflow.com/a/69154120/ provided by the user 'fritzmg' ( https://stackoverflow.com/u/374996/ ) at 'Stack Overflow' website. Thanks to these great users and Stackexchange community for their contributions. Visit these links for original content and any more details, such as alternate solutions, latest updates/developments on topic, comments, revision history etc. For example, the original title of the Question was: Contao redirects main page to its translated page Also, Content (except music) licensed under CC BY-SA https://meta.stackexchange.com/help/licensing The original Question post is licensed under the 'CC BY-SA 4.0' ( https://creativecommons.org/licenses/by-sa/4.0/ ) license, and the original Answer post is licensed under the 'CC BY-SA 4.0' ( https://creativecommons.org/licenses/by-sa/4.0/ ) license. If anything seems off to you, please feel free to write me at vlogize [AT] gmail [DOT] com. --- Understanding the Problem: Redirects in Contao If you have recently implemented the Contao2xliff translation extension on your website, you may have encountered a frustrating issue where your main page (set in Deutsch) keeps redirecting to the English translation page. Specifically, when you visit your site, you’re met with a 303 redirect to the English version, even after switching languages using the language changer. This redirect issue can be puzzling, leaving many users wondering what went wrong. Setup Overview To better understand the situation, here’s a brief overview of your website's structure: Main Structure: Root Page: Deutsch Startseite (alias: index) Translated Structure: Root Page: English Home Page (alias: main) When you visit your site’s main URL, such as https://example.de, instead of landing on the German homepage, you're redirected to https://example.de/home.html, the English version. This occurs despite all other pages operating correctly when languages are switched. Pinpointing the Cause: Contao's Language Handling Expected Behavior It may help to realize that what you're experiencing is actually the expected behavior for Contao. Here’s why this happens: Single Domain for Multiple Languages: If your site uses a single domain to serve multiple languages, Contao determines the appropriate landing page based on the Accept-Language request header sent by your browser. Header Interpretation: If your browser prioritizes English (en) in the Accept-Language header, Contao will respond with a redirect to the English version of the homepage, which is the main alias configuration of your English root page. Thus, you're experiencing the 303 See Other error, which indicates that a redirection has occurred. Implications of Language Settings This automatic redirection to a different language page can be inconvenient if you're targeting a specific audience or if your primary language is set to Deutsch. Here’s how it can affect user experience: Users may land on the English version unintentionally, leading to confusion. Language changes through the language changer may not take effect immediately on the main page, causing frustration for users wanting to access content in their preferred language. Finding the Solution: Adjustments and Best Practices While it’s clear that the behavior of your Contao installation is normal based on the settings, there are a few ways you can manage or alter this behavior to suit your needs better. Option 1: Adjust Accept-Language Headers Browser Settings: Encourage users to adjust their default language settings in their browser to prioritize Deutsch. Server Configuration: Consider modifying server-side settings to manipulate how Accept-Language headers are processed. Option 2: Utilize Contao's Configuration Check Website Settings: Ensure your Contao language configuration aligns with your desired user experience. Language Handling Options: Explore whether you can define language handling rules in your Contao settings which may help prevent unwanted redirection. Option 3: Separate Domains for Languages Consider Multiple Domains: If your site’s audience is predominantly Deutsch, consider utilizing separate domains (e.g., example.de for German and example.com for English) to support language-specific users without redirects. SEO Benefits: Using distinct domains may also help with SEO, ensuring search engines index each language version appropriately. Conclusion Addressing the 303 redirect issue on your Contao website can significantly enhance user experience for visitors coming from various linguistic backgrounds. By understanding the role of Accept-Language headers and exploring appropriate settings within y