Project

General

Profile

Feature #93288

Updated by Sybille Peters about 3 years ago

*Clarification* : I am talking about *redirect chains* (redirects to other URL) here, not *redirect loops*.  

 *chain* : example:  

 * /a => /b, /b => /c 
 * /a => /b, /b => /c, /c => /d 

 2 (or more) redirects have loops* (redirects to be followed now for redirecting to the final page. same URL).  



 If one of the redirects is removed, the chain breaks 

 *loop* : example 

 * /a => /a  
 * /a => /b, /b => /a 

 ---- 


 If URLs are changed several times, redirect chains are created, e.g. /a -> /b -> /c. 


 If these are merged, it reduces the number of requests necessary to load a page. 

 Could be done on-the-fly or as a command. 

 *Before* : 

 <pre> 
 /a -> /b 
 /b -> /c 

 </pre> 

 


 *After* 

 <pre> 
 /a -> /c 
 /b -> /c 
 </pre> 

 NEW: The behaviour has now been changed to use page links as targets, so the result would now be: 

 <pre> 
 This way, /a -> t3://page?uid=111 
 and /b -> t3://page?uid=111 
 </pre> are still redirected, but /a redirects directly to /c instead of to /b and then to /c. 

Back