TYPO3/Route configuration

From Aimeos documentation

< TYPO3

For TYPO3 9.5 and later, you can define the routes for your shop in your ./config/sites/<sitename>/config.yaml file for composer based installations so you get user and SEO friendly URLs for your Aimeos shop pages.

You have to adapt the page IDs below limitToPages to the page IDs used in your installation for the Aimeos pages!
routeEnhancers:
  AimeosList:
    type: Extbase
    namespace: ai
    limitToPages:
      - 120
    routes:
      -
        routePath: /
        _controller: 'Catalog::list'
      -
        routePath: '/{f_name}~{f_catid}'
        _controller: 'Catalog::list'
      -
        routePath: '/{f_name}~{f_catid}'
        _controller: 'Catalog::tree'
  AimeosDetail:
    type: Extbase
    namespace: ai
    limitToPages:
      - 128
    routes:
      -
        routePath: '/{d_name}'
        _controller: 'Catalog::detail'
      -
        routePath: '/{d_name}/d/{d_prodid}'
        _controller: 'Catalog::detail'
      -
        routePath: '/pin/{pin_action}/{pin_id}/{d_name}'
        _controller: 'Catalog::detail'
    defaults:
      d_pos: ''
  AimeosBasket:
    type: Extbase
    namespace: ai
    limitToPages:
      - 127
    routes:
      -
        routePath: /
        _controller: 'Basket::index'
      -
        routePath: /{b_action}
        _controller: 'Basket::index'
  AimeosCheckout:
    type: Extbase
    namespace: ai
    limitToPages:
      - 126
    routes:
      -
        routePath: /
        _controller: 'Checkout::index'
      -
        routePath: /{c_step}
        _controller: 'Checkout::index'
  AimeosConfirm:
    type: Simple
    limitToPages:
      - 125
    routePath: /{code}
  AimeosProfile:
    type: Extbase
    namespace: ai
    limitToPages:
      - 118
    routes:
      -
        routePath: /
        _controller: 'Account::index'
      -
        routePath: /
        _controller: 'Account::watch'
      -
        routePath: /
        _controller: 'Account::favorite'
      -
        routePath: /watch/{wat_action}
        _controller: 'Account::watch'
      -
        routePath: /watch/{wat_action}/{wat_id}
        _controller: 'Account::watch'
      -
        routePath: /fav/{fav_action}
        _controller: 'Account::favorite'
      -
        routePath: /fav/{fav_action}/{fav_id}
        _controller: 'Account::favorite'
      -
        routePath: /history/{his_action}/{his_id}
        _controller: 'Account::history'