is there a way to remove the "detail" page path segment from a News detail page URL. My Configuration locks like this
NewsPlugin:
type: Extbase
limitToPages:
- 152
- 153
- 155
extension: News
plugin: Pi1
routes:
-
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
news_title: news
defaultController: 'News::detail'
defaults:
page: '0'
requirements:
page: \d+
aspects:
news_title:
type: PersistedAliasMapper
tableName: tx_news_domain_model_news
routeFieldName: path_segment
So the URLs are like this:
www.website.de/news/detail/newstitle
goal is
www.website.de/news/newstitle
Thanks a lot.