Download the PHP package arndtteunissen/simple_404_handler without Composer
On this page you can find all versions of the php package arndtteunissen/simple_404_handler. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arndtteunissen/simple_404_handler
More information about arndtteunissen/simple_404_handler
Files in arndtteunissen/simple_404_handler
Package simple_404_handler
Short Description Enables simple 404 Page NotFound handling, also for multilingual sites.
License GPL-2.0-or-later
Homepage https://github.com/arndtteunissen/simple_404_handler
Informations about the package simple_404_handler
Simple 404 Handling
This extension enables simple 404 Page Not Found handling, also for multilingual sites. It does not override but uses the TYPO3 core error handling API.
Motivation
By default the TYPO3 core enables error handling for pages, even with including other pages, but it doesn't support multilingualism.
Installation
Installation using Composer (recommended)
In your TYPO3 site folder run
composer require arndtteunissen/simple_404_handler
to install this extension.
Installation from TYPO3 Extension Repository (TER)
Download and install the extension with the extension manager module.
Usage
- Create a page you want to use as an error page. You can also translate this page later. Rember the page ID!
- Navigate to the Extension Manager and goto the
simple_404_handler
extension settings. - Enter the page ID of your error page in
config.404page
and save the configuration. - Test your setup by accessing an invalid page (e.g.
index.php?id=-99
)
Implementation
Note that according to the TYPO3 Core an exception will be thrown if the error page could not be retrieved by the Page Not Found handler. Make sure you've properly set up the exception handlers (especially for production).