Issue Bug Closed

#101083Relative path creation not posible. Link type "unknown" is not allowed for the field "target" of the table "sys_redirect"

Joerg Boesche 06/15/23, 06:59 updated 07/09/24, 14:15

Description

When creating a redirect with a relative path in the target field, the mentioned error message is generated.
The documentation mentions that relative paths are possible. https://docs.typo3.org/c/typo3/cms-redirects/main/en-us/Usage/Index.html#confval-Target

In the T3 v12 I encounter the mentioned error. If the host is a wildcard, I can’t store a fixed domain at the target, but the relative path on the currently requested domain must take effect. I can’t expect the editors to use a regexp expression. ;-)

Example:
Host: *
Source: /en/imprint
Target: /en/customRedirectPath/imprint

Error message:
1: Link type “unknown” is not allowed for the field “target” of the table “sys_redirect”.

Reviews 6