Problem/Motivation
On the url alias admin UI (/admin/config/search/path) it displays the system path in the anchor text, but then the link itself is to the alias. This creates two issues:
- The two adjacent columns claim to be two different thngs and show different anchor text but are in fact identical link urls.
- It makes it difficult to see if following the system path actually takes you to the alias (harder to detect if there is some other alias or redirect at play. (makes debugging more difficult)
Steps to reproduce
Proposed resolution
This was originally presented as a solution as part of #3351638: Remove truncation of path alias but was split into the separate issue here.
The href for the system path is not actually a system path, but an alias. It should be replaced with the actual system path as the link so that it matches the link text.
Remaining tasks
User interface changes
The href for the system path is not actually a system path, but an alias. It should be replaced with the actual system path as the link so that it matches the link text.

API changes
None
Data model changes
None
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | after.png | 81.8 KB | dineshkumarbollu |
| #7 | before.png | 78.39 KB | dineshkumarbollu |
| #6 | path.png | 136.86 KB | shashank5563 |
| #4 | true-system-path.png | 265.25 KB | swirt |
Issue fork drupal-3362007
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3362007-make-system-path
changes, plain diff MR !4029
Comments
Comment #2
swirtComment #4
swirtComment #6
shashank5563 commentedI have applied the patch on local and found it working as expected.
RTBC.
Comment #7
dineshkumarbollu commentedHi
I Test the MR, and attaching how it looks before and after MR
thanks
Comment #8
swirtThis change was presented at the #3350284: Drupal Usability Meeting 2023-04-07 UX review call when it was part of #3351638: Remove truncation of path alias I am not certain if it needs to go through that process again or not.
Comment #9
smustgrave commentedCan we add a simple assertion somewhere that the paths equal.
Comment #10
swirtGood suggestion. I am a bit swamped at the moment. I can circle back to this in a few weeks, or if anyone else has capacity before I get to it, they can add the testing.
Comment #12
rpayanmPlease review.
Comment #13
swirtCheers, rpayanm thank you for such a rapid addition of tests to the patch. Tests look solid and they are passing.
Comment #17
lauriiiCommitted 894c118 and pushed to 11.x. Thanks!