[TYPO3] CoolUri and 404 Pages
    Juergen Hecht 
    list at space4typo3.de
       
    Fri Apr 18 21:20:23 CEST 2008
    
    
  
Hi Jan,
for me i have edit the file link.Functions.php at the function
public static function pageNotFound($lConf)
i have replaced the line
case 'redirect': header((string)$lConf->cache->pagenotfound->status); 
self::redirect((string)$lConf->cache->pagenotfound->behavior); break;
with this
case 'redirect': header((string)$lConf->cache->pagenotfound->status); 
self::redirect((string)$lConf->cache->pagenotfound->behavior."?ref=".$_SERVER['REQUEST_URI']); 
break;
Now i can work with the $_GET['ref'] on the 404 Page.
Kind Regards
Juergen
Jan Bednarik schrieb:
> Hey,
> 
>> I have a Problem. I have insert an Redirect in the CoolUriConf.xml to 
>> redirect all 404 Errors to an special Page. Is there a way to add an 
>> Parameter ( the missin Page for example)
> 
> it's not possible, but it's a good idea. Have you tried looking at the 
> HTTP_REFER?
> 
    
    
More information about the TYPO3-english
mailing list