Node path uses taxonomy name instead of it's alias

Created on 28 July 2021, over 3 years ago
Updated 17 January 2023, almost 2 years ago

Problem/Motivation

I've ported website from D7 to D9 and in D7 it worked perfeclty.

I have taxonomy with two terms: News and Articles. Machine name is "field_categories". It is single select field.

Articles has custom url alias: /useful

In /admin/config/search/path/patterns I have pattern for node: [node:field_categories]/[node:title]

But instead of /useful/node-title URL displays as /articles/node-title

I've tried all available tokens. Only one showed correct term alias [node:field_categories:entity:url], but with FULL absolute path, like this: site.com/http:/site.com/useful/node-title which is incorrect.

Proposed resolution

Need a token to display a taxonomy's relative alias in node path pattern.

πŸ› Bug report
Status

Closed: works as designed

Version

1.8

Component

Tokens

Created by

πŸ‡·πŸ‡ΊRussia bigboy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024