Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In order to make a multilink you must know the id of the node you want to link to. However, on a site using url aliases, you won't see the node id in the browser's address field. If you have edit or translate permissions to the node you want to link to, you can get the id by clicking either the edit or translate button. But if you don't have any of these permissions, how can you know the node id? Would it be possible for Multilink to generate the correct link using any url alias instead of the node id?
Comments
Comment #1
portulacaYou can find out the node ID by hovering over the Edit or some other node-related link other than View.
But I do agree the Multilink should work on path aliases as well, currently it doesn't, I have to use /node/[number] of the English node inside the other language content to get Multilink filter to adjust the link href to correct interface language and node number.
Comment #2
LarsKramer CreditAttribution: LarsKramer commentedIt is true, but only if the user who wants to link to a page, has access beyond view, as mentioned in the original description.
Comment #3
Andy Inman CreditAttribution: Andy Inman commentedAgree this option would make sense to have. Personally I prefer working with node ids when generating links, because that gives me the option to change the path alias at some point without breaking any links. But, that's my personal preference, I can understand why others would prefer to insert links using the alias path.
Any more requests for this feature?
Comment #4
Andy Inman CreditAttribution: Andy Inman commented