In TYPO3 Version 9.5.11 I would like to have my own URL rewritten with GET parameters. The URL looks like this:
At the end, the URL should be:
Yes, I don't need all the GET-Parameters and I want to remove it.
Now I use routeEnhancers in my config.yaml file.
The setting looks like this to rewrite the url in the first step like this:
https://www.website.de/my-page/logintype/dc/code/state/uniquekey/login_id/dc_timestamp
My routeEnhancers:
routeEnhancers:
MyCustomRewrite:
type: Simple
routePath: '{logintype}/{dc}/{code}/{state}/{uniquekey}/{login_id}/{dc_timestamp}'
requirements:
logintype: '. *'
dc: '. *'
code: '. *'
state: '. *'
uniquekey: '. *'
login_id: '. *'
dc_timestamp: '. *'
However, the rewrite does not work. What could be the problem?