Routes and TYPO3 404 Error-Page
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Routes and TYPO3 404 Error-Page
Hi Aimeos-Team,
we have the following 2 routes in RouteEnhancer (as last 2 routes) that works in Aimeos 2022 (Typo3 11.5.37):
Now in Aimeos 2023 it worked also but now we have the problem, that the 404 Page is never triggered if a url is not found.
The homepage of typo3 is shown instead. If we remove the 2 routes, it works as expected (wrong url -> 404 Page is shown)
Could this be a Aimeos and /or Typo3 problem?
Typo3: 12.4.15
Aimeos: 2023.10.7
Thank you very much!
we have the following 2 routes in RouteEnhancer (as last 2 routes) that works in Aimeos 2022 (Typo3 11.5.37):
Code: Select all
routePath: '/{f_catid}/{f_name}'
_controller: 'Catalog::list'
routePath: '/{f_catid}/{f_name}/{d_name}'
_controller: 'Catalog::detail'
The homepage of typo3 is shown instead. If we remove the 2 routes, it works as expected (wrong url -> 404 Page is shown)
Could this be a Aimeos and /or Typo3 problem?
Typo3: 12.4.15
Aimeos: 2023.10.7
Thank you very much!
Re: Routes and TYPO3 404 Error-Page
A workaround is to add "limitToPages" in the route enhancer config.