【发布时间】:2019-03-21 09:58:59
【问题描述】:
TYPO3 9.5.5 中的演讲网址的构建非常好。我试过这个:
routeEnhancers:
PageTypeSuffix:
type: PageType
default: '.html'
index: 'index'
map:
{}
它工作正常,但对于根页面有 example.org/index.html 或 example.org/en/index.html - 我想拥有以前的 example.org 或 example.org/en.html与真实网址? 有没有可能摆脱 index.html?
铜
沃尔克
【问题讨论】:
-
使用默认设置(如果您省略了您所做的所有配置)TYPO3 不再包含您的“.html”后缀的页面。要么你搞砸了你的配置,要么你必须提供更多关于你的站点/设置的信息。以及您尝试实现的目标
-
感谢您的回复我在 docker 中构建了新版本并安装了介绍包,然后我通过“站点”添加了第二种语言,然后唯一的编辑是带有 routeEnhancers: PageTypeSuffix: 类型的 config.yaml: PageType default: '.html' index: 'index' map: {} 现在我在 menue mydomain/example.html 中得到这样的链接 - 好的!但是对于根页面,我得到mydomain/index.hml - 我只想拥有mydomain