#101083Relative path creation not posible. Link type "unknown" is not allowed for the field "target" of the table "sys_redirect"
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
- 12.4 83946[BUGFIX] Ensure that relative target link can be set in EXT:redirects
- main 83444[BUGFIX] Ensure that relative target link can be set in EXT:redirects
- main 79698[BUGFIX] Consider path links with leading slash as `url`
- 12.4 80663[BUGFIX] Apply typolink.forceAbsoluteUrl to absolute path URIs
- main 80597[BUGFIX] Apply typolink.forceAbsoluteUrl to absolute path URIs
- 12.4 79734[BUGFIX] Consider path links with leading slash as `url`