[TYPO3] 404 Error

Ries van Twisk typo3 at rvt.dds.nl
Fri Mar 24 23:52:02 CET 2006


Here is the solution I am using for typo3 version 3.8.1

http://www.rvantwisk.nl/typo3-snippets/page-404-and-301-handling.html

Ries

>Dmitry Dulepov wrote:
>  
>
>>Hi!
>>
>>Steffen Kamper wrote:
>>    
>>
>>>[FE][pageNotFound_handling] =
>>>http://www.traum-projekt.com/spezialelemente/404
>>>FE][pageNotFound_handling_statheader] = HTTP/1.0 404 Not Found
>>>      
>>>
>>These two will not work. Typo3 does a redirect if you specify web page
>>address.
>>
>>You need a local file and the following:
>>
>>[FE][pageNotFound_handling] = 'READFILE:/home/user/whateve.html';
>>[FE][pageNotFound_handling_statheader] = 'HTTP/1.0 404 Not Found';
>>    
>>
>
>Hi Dmitry,
>
>Why would you need a local file for the correct header. Doesn't the:
>
>[FE][pageNotFound_handling] = '/404/';
>
>method work too?
>
>gRTz
>
>ben
>  
>


-- 
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web:   http://www.rvantwisk.nl/
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web:   http://www.livetravelguides.com




More information about the TYPO3-english mailing list