diff --git a/config/sites/ep-events/config.yaml b/config/sites/ep-events/config.yaml index 3d9d01fa..240d9787 100644 --- a/config/sites/ep-events/config.yaml +++ b/config/sites/ep-events/config.yaml @@ -93,13 +93,13 @@ routeEnhancers: location_type: \d+ aspects: travel_type: - type: StaticRangeMapper - start: '1' - end: '100' + type: PersistedAliasMapper + tableName: tx_epevents_domain_model_traveltype + routeFieldName: uid location_type: - type: StaticRangeMapper - start: '1' - end: '100' + type: PersistedAliasMapper + tableName: tx_epevents_domain_model_location + routeFieldName: uid ContactFormPlugin: type: Extbase extension: EpEvents @@ -117,6 +117,12 @@ routeEnhancers: travel_type: \d+ aspects: travel_type: - type: StaticRangeMapper - start: '1' - end: '100' + type: PersistedAliasMapper + tableName: tx_epevents_domain_model_traveltype + routeFieldName: uid + PageTypeSuffix: + type: PageType + default: '/' + index: '' + map: + '/': 0 diff --git a/config/sites/ski-wochenenden/config.yaml b/config/sites/ski-wochenenden/config.yaml index 3f956a96..cfbcf4d3 100644 --- a/config/sites/ski-wochenenden/config.yaml +++ b/config/sites/ski-wochenenden/config.yaml @@ -22,5 +22,18 @@ errorHandling: errorCode: '404' errorHandler: Page errorContentSource: 't3://page?uid=608' -routes: { } -routeEnhancers: { } +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" +routeEnhancers: + PageTypeSuffix: + type: PageType + default: '/' + index: '' + map: + '/': 0 + '/json': 1701 + '/html': 1702 +