arndtteunissen/simple_404_handler

Enables simple 404 Page NotFound handling, also for multilingual sites.

Installs: 4 354

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 2

Type:typo3-cms-extension

1.0.7 2018-02-14 07:00 UTC

This package is auto-updated.

Last update: 2024-11-11 18:29:37 UTC


README

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

  1. Create a page you want to use as an error page. You can also translate this page later. Rember the page ID!
  2. Navigate to the Extension Manager and goto the simple_404_handler extension settings.
  3. Enter the page ID of your error page in config.404page and save the configuration.
  4. 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).