This Package provides a configurable 404 error page for TYPO3 Neos with dimensions support.
For Neos 1.2.*
please add the following package to your composer.json
{
"require": {
"techdivision/notfound": "1.0.*"
},
}
For Neos 2.0.*
please use
{
"require": {
"techdivision/notfound": "2.0.*"
},
}
Install the package:
composer update techdivision/notfound
to enable this package you need to set the following settings in your Site or Project Settings.yaml
TechDivision:
NotFound:
enable: true
defaultUriSegment: '404'
enable
: enables or disables the module
defaultUriSegment
: the node path uri segment of your 404 site
if you are using a defaultUriSuffix (in most cases .html
) you need to add a additional route in your Routes.yaml
at the end of your Routes.yaml
##
# TechDivision.NotFound Subroutes - only required if the 'TYPO3 Neos' route has a 'defaultUriSuffix' suffix
##
-
name: 'TechDivision.NotFound'
uriPattern: '<TechDivisionNotFoundSubroutes>'
subRoutes:
'TechDivisionNotFoundSubroutes':
package: 'TechDivision.NotFound'