I am using the following config.yaml for the standard news plugin:
NewsPlugin:
type: Extbase
limitToPages:
- 3
- 15
extension: News
plugin: Pi1
routes:
-
routePath: '/l/{page}'
_controller: 'News::list'
_arguments:
page: '@widget_0/currentPage'
-
routePath: '/tag/{tag_name}'
_controller: 'News::list'
_arguments:
tag_name: overwriteDemand/tags
-
routePath: '/{news_title}'
_controller: 'News::detail'
_arguments:
news_title: news
-
routePath: '/archiv/{year}/{month}'
_controller: 'News::archive'
defaultController: 'News::list'
defaults:
page: '0'
news_title: ''
tag_name: ''
year: '2019'
month: '01'
aspects:
news_title:
type: PersistedAliasMapper
tableName: tx_news_domain_model_news
routeFieldName: path_segment
Now it all works pretty well, the only problem is, when I use the pagination, there is always a cHash attached to my url. Like a link to page 2 results in
http://www.example.com/newspage/l/2?cHash=313213213213213a2f13asf321
Any ideas why this happens?