Skip to content

Store View (language) switch leads to 404 #5077

Closed
@jsakars

Description

@jsakars

Steps to reproduce

  1. Install Magento 2.0.7
  2. Add several store views e.g. "English", "French", "German"
  3. Create a CMS page for "English" store view - e.g. "About Us" with Url Key about-s
  4. Now create the same CMS page for "French" store view e.g. "À propos de nous" with Url Key a-propos-de-nous

Expected result

  1. I can open "About Us" page
  2. I am redirected to homepage when I switch store view (language) as CMS pages are not linked n any way

Actual result

  1. I can open "About Us" page
  2. 404 page is show when I switch store view (language)

Product categories are general with possibility to translate them in each store view but CMS pages does not work like that. For CMS pages I would expect that user is redirected to homepage as Magento2 can't know which pages represent the same content in different store view.

One way to resolve this would be to use the same Url Key in all store views for the same page but that's a hack rather then a solution (also SEO suffers).

Is there at least a way how to fix this for now?

Metadata

Metadata

Assignees

Labels

Component: CmsIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 releasebug reporttriage wanted

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions