我有Magento网站与3商店意见和每个商店查看自己的语言。商店查看代码显示在网址中,默认商店为英文。 www.example.com/英语 www.example.com/en/英语 www.example.com/de/德国 www.example.com/fr/法国Magento删除记住商店语言
的问题是,Magento的会记得我语言选择。如果我点击德语(www.example.com/de/),下次我将访问www.example.com语言将默认为德语,因为magento记得它。这可能会有问题,因为谷歌也会得到相同的逻辑。我们假设如果谷歌昨天检索www.example.com/fr/,明天将在www.example.com上显示法语。
有什么简单的方法可以避免这种情况?如果没有指定商店
Mage::run('en', 'store');//replace 'en' with the code of the English store view if it's different
这应该总是加载英语商店视图:
选项2引导我以正确的方向处理另一个与__store Cookie有关的问题。谢谢。 – dchayka