Bug #86588
Updated by Josef Glatz about 6 years ago
I added a routeEnhancer with a PersistedAliasMapper aspect for a plugin. <pre><code class="yaml"> routeEnhancers: @routeEnhancers: Foowebsite: type: Extbase limitToPages: [6] extension: Foowebsite plugin: Pi1 routes: - routePath: '/{country_slug}' _controller: 'Country::show' _arguments: {'country_slug': 'country'} defaultController: 'Country::list' aspects: country_slug: type: PersistedAliasMapper tableName: 'tx_foowebsite_domain_model_country' routeFieldName: 'slug' </code></pre> 'slug'@ If i use this route on the root Website(is_siteroot=1) i get a PageNotFoundExeption, on a sub page all works fine. * example.com/aegypten -> PageNotFoundException * example.com/default-title/aegypten -> works fine