[TYPO3-english] Problem with pageNotFound_handling TYPO3 v. 4.7

Brian Bendtsen bb at bellevuevej.dk
Tue Aug 13 16:24:05 CEST 2013


Den 12/08/13 14.36, Thorsten Kahler skrev:
> Hi Brian,
>
> Brian Bendtsen schrieb am 12.08.13 13:25:
>> Hi
>>
>> I'm trying to set up pageNotFound_handling, but it doesn't play nice.
>>
>> I have tried all these settings:
>>
>> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = "/index.php?id=143";	
>> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = "true";
>> $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '1';
>>
>> and they all act similar.
>>
>> It works only for URL's like
>> http://mydomain.dev/index.php?id=id_does_not_exist but not
>> http://mydomain.dev/thisurldoesnotexist.html - The latter just redirects
>> to the first found parent page.
>>
>> I want to redirect to a specific page
>>
>> Behaviour is the same with realurl enabled or not
>>
>
> this is an RealURL issue: RealURL interprets /thisurldoenotexist.html as
> "fileName" and falls back to default page type (0).
>
> TS "config.tx_reaurl_enable = 0" only disables URL generation, not
> request resolution. So if you want to test without RealURL you have to
> deactivate the extension.
>
> Cheers,
> Thorsten
>
Hi Thorsten

Thank you for the tip. I have uninstalled realurl.

The described behaviour is the same though, so I guess its not a realurl 
issue.

/Brian Bendtsen


More information about the TYPO3-english mailing list