Skip to content

networkteam/TechDivision.NotFound

 
 

Repository files navigation

Introduction

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'

About

Provides a configurable 404 error for Neos CMS. This Package comes with content dimensions support!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%