mbhsoft/page-redirect-handler

Add description...

Installs: 1 701

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

pkg:composer/mbhsoft/page-redirect-handler

2.0.0 2022-12-12 14:08 UTC

This package is auto-updated.

Last update: 2025-09-12 19:51:13 UTC


README

Installation

This extension has to apply a patch - using cweagans/composer-patches - to the typo3 core to work correct.

Read (https://github.com/cweagans/composer-patches#user-content-allowing-patches-to-be-applied-from-dependencies) to allow patches to be applied from dependencies.

After running composer require mbhsoft/page-redirect-handler the patching will fail, because the package will be installed after typo3/cms-frontend.

To fix this run composer install.

Usage

errorHandling:
  -
    errorCode: 401
    errorHandler: PHP
    errorPhpClassFQCN: MbhSoftware\PageRedirectHander\Error\PageErrorHandler\PageRedirectErrorHandler
    errorRedirectTarget: 't3://page?uid=42'
    errorRedirectTargetStatuscode: 307 #optional - 307 is default
    errorRedirectAdditionalParameters: #optional
      return_url: '###CURRENT_URL###'