TYPO3 9.5.2 Slug: Multilanguage: Page not found 404 exception, if no translation of page exists

前端 未结 3 400
我寻月下人不归
我寻月下人不归 2021-01-22 06:34

I have a website with two languages e.g de and en. De is my default language with no path prefix. En, the second language, has /en/ as prefix in the url. Now when I switch to th

3条回答
  •  难免孤独
    2021-01-22 07:23

    Another workaround instead of creating translations for every page is to create static routes. For example:

    route: de/english-slug-of-page
    type: uri
    source: https://yoursite/english-slug-of-page. 
    

    Not very handy solution though. And it has the disadvantage that routing to the English pages will change the selected language (in the example from German to English).

    The is still no fix for this issue in TYPO3 9.5.4.

提交回复
热议问题