Project

General

Profile

Bug #102901

Updated by Philipp Wrann 4 months ago

If you update a slug, typo3 will create a redirect that removes all additional query params ("Keep GET Parameters" = off). 

 It may happen, that - through changing of slugs - a redirect is created, that effectively looks this way: 

 curl -I 'https://my.site/path/to/page?type=200&cHash=someCacheHash' 

 <pre> 
 HTTP/2 307  
 content-type: text/html; charset=UTF-8 
 x-redirect-by: TYPO3 Redirect 101 
 location: https://my.site/path/to/page https://my.site/path/to/site 
 </pre> 

 So when generating those links in your fluid template you will never receive the content you want to load, you will always load page type 0. 

 This affects all required query parameters. 

 My suggestion: 
 If the source and the generated target url are the same: 

 1) dont send the redirect 
 2) if not protected, delete the obsolete redirect

Back