# magento2切换语言跳转404

**URL:** https://forum.magentochina.org/t/magento2%E5%88%87%E6%8D%A2%E8%AF%AD%E8%A8%80%E8%B7%B3%E8%BD%AC404/354
**Category:** 提问
**Created:** [2018 年3 月 19 日 08:25 UTC](https://forum.magentochina.org/t/magento2%E5%88%87%E6%8D%A2%E8%AF%AD%E8%A8%80%E8%B7%B3%E8%BD%AC404/354 "2018-03-19T08:25:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### 作者： ![ricici](https://forum.magentochina.org/user_avatar/forum.magentochina.org/ricici/32/190_2.png) [@ricici](https://forum.magentochina.org/u/ricici)
#### 发布日期： [2018 年3 月 19 日 08:25 UTC](https://forum.magentochina.org/t/magento2%E5%88%87%E6%8D%A2%E8%AF%AD%E8%A8%80%E8%B7%B3%E8%BD%AC404/354/1 "2018-03-19T08:25:36Z")

</div>

在多语言页面，首页切换语言，可以正常切换，但是在分类或者产品页面，切换语言只更换了store view code，由于不同语言下，同一产品或者分类的URL KEY不同，就直接导致了404页面。  
如分类衣服，[英语链接为www.domain.com/en/dress,法语为www.domain.com/robe，在英语切换为法语时，只切换了store](http://xn--www-c88d429gqi3b9ens8q.domain.com/en/dress,%E6%B3%95%E8%AF%AD%E4%B8%BAwww.domain.com/robe%EF%BC%8C%E5%9C%A8%E8%8B%B1%E8%AF%AD%E5%88%87%E6%8D%A2%E4%B8%BA%E6%B3%95%E8%AF%AD%E6%97%B6%EF%BC%8C%E5%8F%AA%E5%88%87%E6%8D%A2%E4%BA%86store) [code变成www.domaim.com/fr/dress，](http://xn--codewww-6l3ly07h.domaim.com/fr/dress%EF%BC%8C) 直接导致404。请问有没解决方法，，，跳转对应分类或产品，或者跳转主页。

---

<div class="post-metadata">

### 作者： ![Shuai](https://forum.magentochina.org/user_avatar/forum.magentochina.org/shuai/32/3_2.png) [@Shuai](https://forum.magentochina.org/u/Shuai)
#### 发布日期： [2018 年3 月 19 日 13:18 UTC](https://forum.magentochina.org/t/magento2%E5%88%87%E6%8D%A2%E8%AF%AD%E8%A8%80%E8%B7%B3%E8%BD%AC404/354/2 "2018-03-19T13:18:26Z")

</div>

那非常有可能确实是这个这个store view下没有这个产品。  
首先要确定产品确实已经在这个store views下，然后刷新一下索引。  
最好有截图或者项目地址。
