I've got a shop with two store:
- DE (Store name: DE), (Store view: de, code: de)
- UK (Store name: UK), (Store view: en, code: en)
By default, the shop is DE (German)
I've got a 404 error when : I go to the shop, go on a category and try to change the language to en (English).
I figure out that :
sitename.com/en/modern-carpets.html?___store=en&___from_store=de
-> work
sitename.com/en/modern-carpets.html
-> doesn't work
And also that if I switch off my cookies in my browser, everything is working.
I am using magento community 1.9.1.0
Already thank you that you took time to read my issue.
$uri = substr($_SERVER['REQUEST_URI'], 0, 4); if ($uri == '/en/') { $mageRunCode = 'en'; $mageRunType = 'store'; setcookie("store", "en"); }
I guess it's a very dirty solution, but for now it's work.