Problem/Motivation
When viewing the list of redirects in /admin/config/search/redirect, the “To” path column always displays URLs with the UI language prefix (e.g., /fr/...) regardless of the actual redirection language defined.
This is misleading, especially in multilingual sites with different source/target path aliases.
Screenshot in English UI

Screenshot in French UI

Steps to reproduce
- Create a multilingual Drupal site with at least English and French enabled.
- Set site default language to English.
- Create a node with translations in both languages.
- Create a redirect from
/test(language = English) to/node/20(English) - View the redirect list in
/admin/config/search/redirect - Change UI language to French
Expected result
The “To” column still shows /en/alias if the redirect is in English.
Actual result
The “To” column shows /fr/..., which does not reflect the redirection language and is misleading.
Additional note
The actual redirection works correctly — however, the displayed paths in the “To” column are incorrect, as they always show the URL with the current UI language prefix instead of the actual redirection language.
| Comment | File | Size | Author |
|---|---|---|---|
| Capture d’écran 2025-07-25 à 18.39.24.png | 75.46 KB | zyef | |
| Capture d’écran 2025-07-25 à 18.35.29.png | 66.35 KB | zyef |
Comments
Comment #2
zyef commentedComment #3
avpaderno