Hello community,
I have a rather annoying problem i could use some help with.
I added 2 languages to my Expression Engine installation, following a guide by madebyhippo (http://www.madebyhippo.com/herdspeak/view/multilingual_websites_in_expressionengine). It aims on creating subfolders for every language containing the index.php file and then searches for a language variable within the channel tag ( {exp:channel:entries channel='ihcw' category="17" search:static_lang="{countrycode}”). It then alters the site url to *.com/en/index.php for English or *.com/de/index.php for German (standard language).
My problem now is that when surfing to the homepage one would not enter anything but *.com in the browser. So no language is chosen at first. The problem is that several channel tags are generated empty because no language is chosen.
I changed the root-url in EE to be *.com/de/ without any effect on the homepage (rest works fine). So I tried to add a redirect on the unix server’s htaccess file ( redirect 301 / *.com/de/ ) but it generates a loop… redirect 301 /web *.com/de/web does not work neither (I renamed the index.php into web).
So my question is if someone knows a solution to that problem either on the htaccess side or on the ExpressionEngine side.
Thanks for the input in advance!
Best,
Janek