[TYPO3] Cool URI - Old Links - HTTP Status Code
Jan Bednarik
info at bednarik.org
Sat Sep 6 11:04:51 CEST 2008
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
--
Jan Bednarik
www.bednarik.org - web about Typo3 in czech
More information about the TYPO3-english
mailing list