Project

General

Profile

Bug #93483

Updated by Christoph Lehmann over 3 years ago

This is my configuration 

 <pre> 
 routeEnhancers: 
     PageTypeSuffix: 
         type: PageType 
         default: .html 
         index: index 
         map: 
             .html: 0 

 settings: 
     redirects: 
         autoUpdateSlugs: true 
         autoCreateRedirects: true 
         redirectTTL: 30 
         httpStatusCode: 301 
         forceHttps: true 
         respectQueryParameters: false 
         keepQueryParameters: false 
 </pre> 

 As per default the urls have .html ending. When i rename a page a redirect is created with 

 Source-Path: /veranstaltungennn  

 Now i curl this paths 

 /veranstaltungennn => HTTP 301 (ok) 
 /veranstaltungennn/ => HTTP 301 (ok) 
 /veranstaltungennn.html => HTTP 404 (Not found) 

 The issue is that the old default url is not redirected and results in a 404. 

 Both working redirects are useless cases because they are not communicated (eg. in search engines) and the only important case (with .html) does not work. 404

Back