Actions
Bug #101083
closedRelative path creation not posible. Link type "unknown" is not allowed for the field "target" of the table "sys_redirect"
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling & Redirect Handling
Target version:
Start date:
2023-06-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
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".
Files
Actions