[TYPO3-english] Problem with pageNotFound_handling TYPO3 v. 4.7
Thorsten Kahler
thorsten.kahler at typo3.org
Mon Aug 12 14:36:08 CEST 2013
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
--
Thorsten Kahler
TYPO3 CMS Active Contributor
TYPO3 ... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-english
mailing list