techdivision / notfound
Provides a configurable 404 error for Neos CMS. This Package comes with content dimensions support!
Installs: 3 306
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 12
Forks: 2
Open Issues: 3
Type:typo3-flow-package
Requires
- typo3/neos: >=1.2
Requires (Dev)
- php: >=5.4.0
- mikey179/vfsstream: *
- pdepend/pdepend: 2.0.*
- phing/phing: *
- phploc/phploc: 2.0.*
- phpmd/phpmd: 2.1.*
- sebastian/phpcpd: 2.0.*
- squizlabs/php_codesniffer: 2.*
README
This Package provides a configurable 404 error page for TYPO3 Neos with dimensions support.
Installation
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
Configuration
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
Optional
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'