[TYPO3] Cool URI - Old Links - HTTP Status Code
Tobias Pierschel
tobias.pierschel at vision-pool.de
Mon Sep 8 11:05:59 CEST 2008
Hi Jan,
thanks a lot.
Greetings
Tobi
Jan Bednarik schrieb:
> Hi,
>
>> how can i send a 301 (Moved Permanently) status code instead of 302,
>> when cooluri found a page which where moved?
>
> well, you can open link.Translate.php, find line 112 and add 301 to the
> redirect function:
>
> Link_Func::redirect(Link_Func::prepareforRedirect($row['oldlink'].(empty($tempuri[1])?'':'?'.$tempuri[1]),$lConf),301);
>
>
> I'll add it to the source codes right now, but I don't expect new
> version very soon as I'm too busy to give it a proper testing.
>
> Regards
>
More information about the TYPO3-english
mailing list