[TYPO3-english] 404 status code

Matt Clough matt at lubs.leeds.ac.uk
Thu Jun 25 15:00:47 CEST 2015


Hi All,

Could anybody help me with setting up Typo3 to produce the correct status code on page not found.

I am using Typo3 6.2.13 with RealURL 

I have the following set

['FE']['pageNotFound_handling'] = http://mydomain.com/page-not-found/
[FE][pageNotFound_handling_statheader] = HTTP/1.1 404 Not Found

This work fine, when an incorrect url is entered it redirects you to the page not found page. The only problem is that it doesn't send the correct header code. it shows a 303 rather than a 404. How can I set this up to get the correct header response code??

Thanks

Matt


More information about the TYPO3-english mailing list