Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When one navigates to the vocabulary edit page, they get a URL like so: ../admin/content/taxonomy/edit/vocabulary/[vid]
where [vid]
is the vocabulary id of course. Shouldn't it be ../admin/content/taxonomy/edit/vocabulary/[vocabulary_name]
instead?
Comments
Comment #1
Dave ReidWhat would be the sub-path alias that this matches? This almost seems like something way out of scope for this module.
Example:
current path: admin/foo/bar
sub-path: admin/foo (with an URL alias of 'omgbbq')
current path after sub-path alias processing: omgbbq/bar
Comment #2
klonosHey Dave, I do realize that there is no actual existing sub-path to match this with, so I understand your point. Perhaps this needs to be taken care by both Sub-path URL Aliases and Pathauto(?). I mean, Pathauto allows you to have the 'pretty' url
/category/my-node-title.html
instead of/node/123
. Why not have a pretty URL for vocabularies too?BTW, I just realized that if this request is to be complete, it should also take care of the 'list terms' and 'add terms' pages as well...
../admin/content/taxonomy/[vid]/add/term
to../admin/content/taxonomy/[vocabulary_name]/add/term
and
../admin/content/taxonomy/[vid]
to../admin/content/taxonomy/[vocabulary_name]
or../admin/content/taxonomy/[vocabulary_name]/list-terms
...which is where Sub-path URL Aliases jumps in (I guess?).
Comment #3
Dave ReidWell, quite frankly aliasing admin paths is kinda silly and it's not something that would ever be accepted into Pathauto. You could always create the aliases yourself, and Subpath URL alias should take care of that for you automatically, but keep in mind its also not recommended to be having sub-path URL alias working on admin paths just in case something goes wrong, then your admin pages are unreachable. You may want to also investigate making your own vocabulary listings (using Views or custom solution) that are not under the admin paths.
As such, I'm marking this request as won't fix.
Comment #4
klonosFair enough. Thanx for taking the time to consider/reply.