简体   繁体   English

如何使用html获取TYPO3 9.5.5中的口语URL,但不能获取根页面

[英]How to get speaking urls in TYPO3 9.5.5 with html but not for rootpage

the building of speaking urls in TYPO3 9.5.5 is very nice. TYPO3 9.5.5中的口语URL的构建非常好。 I tried out this: 我尝试了这个:

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: '.html'
    index: 'index'
    map:
     {}

It works fine, but for the rootpage there is example.org/index.html or example.org/en/index.html - I want to have example.org or example.org/en.html as it was before with realurl? 效果很好,但是对于根页面,有example.org/index.html或example.org/en/index.html-我想像realreal一样拥有example.org或example.org/en.html吗? Is there any possibility to get rid of the index.html? 有没有可能摆脱index.html?

cu cu

Volker 沃尔克

With the SEO (Core-Extension) I get the right canonical-tags, when I use "/" for the rootpage. 使用SEO(核心扩展)时,当我在根网页上使用“ /”时,我会获得正确的规范标签。 But it would nice to have the Urls for the frontpage without .html in the menu and rootline. 但是,如果菜单和根行中没有.html,则可以在首页上使用Urls。

cu Volker 库·沃尔克

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM