Project

General

Profile

Actions

Bug #101083

closed

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

Added by Joerg Boesche over 1 year ago. Updated 4 months ago.

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

clipboard-202402011459-uykbx.png (54.2 KB) clipboard-202402011459-uykbx.png Karsten Nowak (undkonsorten), 2024-02-01 13:59

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #101709: TypoLink forceAbsoluteUrl is not working anymore on processed image resources from static filesClosed2023-08-18

Actions
Related to TYPO3 Core - Bug #103387: Setting a relative target for `sys_redirects` not workingClosedStefan Bürk2024-03-13

Actions
Actions

Also available in: Atom PDF