[TYPO3-dev] 404 error handling proposition from Ben and Dimitry

Peter Kraume usenet at kraume.de
Mon Oct 30 10:09:26 CET 2006


Dmitry Dulepov wrote:
> 
> if ($_GET['L'] == '1') {
>     $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/en/404/';
> }
> else if ($_GET['L'] == '2') {
>     $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/fr/404/';
> }
> else {
>     $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/de/404/';
> }
> 

Hi Dimitry,

thx for your hint, but where should I insert this snippet?
I tried to put it into /typo3conf/localconf.php but it doesn't work
since there is no L GET var present at the time when localconf.php is
parsed.

Regards,
Peter




More information about the TYPO3-dev mailing list