문제

In Magento admin, I tried to create new page for different language (in CONTENT > PAGES). However, when I enter the same URL Key (i.e. home) and save, it prompt out error.

URL key for specified store already exists.

I expected all three pages in different store views should belong to the same URL, anyone got any idea?

도움이 되었습니까?

해결책

We can achieve this by creating the different CMS pages which assign to the different Store Views.

For example: we have three store views, we can create three different CMS pages with the same url key (for example, my-contact-page). Remember that each page must be assigned to the different Store View.

enter image description here

Especially for Home page, we can set the CMS home page for each store view in STORES> Configuration > General Web > Default Pages:

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top