Passend analog zu den anderen Beiträgen zum routeEnhancers hier die Config.yaml für Card::Products mit einer schönen URL auf der Webseite.
base: 'https://domain.ltd/' baseVariants: { } errorHandling: { } languages: - title: Deutsch enabled: true base: /de/ typo3Language: de locale: de_DE.UTF-8 iso-639-1: de navigationTitle: Deutsch hreflang: de-DE direction: '' flag: de languageId: '0' - title: English enabled: true base: /en/ typo3Language: default locale: en_US.UTF-8 iso-639-1: en navigationTitle: English hreflang: en-US direction: '' fallbackType: strict fallbacks: '1,0' flag: en-us-gb languageId: '1' rootPageId: 1 routeEnhancers: PageTypeSuffix: type: PageType default: / index: '' map: sitemap.xml: 1533906435 yoast-snippetpreview.json: 1480321830 /: 0 ### CardProducts - START tx_cartproducts_products: type: Extbase extension: CartProducts plugin: Products routes: - routePath: '/{product_title}' _controller: 'Product::show' _arguments: product_title: product defaultController: 'Product::show' aspects: product_title: type: PersistedAliasMapper tableName: tx_cartproducts_domain_model_product_product routeFieldName: path_segment ### CardProducts - END routes: - route: robots.txt type: staticText content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
Bei Fragen wie immer gerne Fragen 😉