I have built a Statamic site, which also houses three languages. The language is built in by having three separate folders (and thus sub-pages) to the root - de, fr, en. These then house the exact same structure and URL patterns for all of its content. So, for example:

  • en homepage
    • about
    • services
    • contact
  • de homepage
    • about
    • services
    • contact
  • fr homepage
    • about
    • services
    • contact

My only issue is that there isn't a homepage as such - there's a homepage for each language...but not overall. My client wants to have the visitor load the website and automatically be forwarded to their relevant language. I've asked around and it seems htaccess redirects and language detection ISN'T the most reliable way of doing this - so I was wondering if anyone from the Statamic team or community has any ideas how this could be done, if at all possible?

If not, I'm thinking of creating some sort of language switcher so that they land on that and it saves their selection - but would love any insights you might all have. :) Thanks!

Answered by Rachel Shillcock! Go to answer.