Pathauto not working for untranslated nodes?

Created on 27 June 2018, over 6 years ago
Updated 23 October 2024, 29 days ago

I have a multilingual site, where Finnish is the default language. I have node types where I've enabled translations and Pathauto works wonderfully there. Now I'm trying to create a new node type in which I have unchecked the "Enable translation" button, ie. I want to show the same node on all languages. If I create (or later change to, doesn't seem to affect this) the node as language undefined, Pathauto works again wonderfully and creates the url aliases as expected (currently using "my-url/[node:title]") for all languages. So "my-url/test" goes to Finnish, "en/my-url/test" goes to English and so on.

Problem is that if I create or change the node's language to anything else, Pathauto stops working. If I select Finnish, for example, "my-url/test" works but other language urls are in format "en/node/XX". If I make the node language English, "en/my-url/test" works but other languages, including Finnish, use "de/node/XX" (or just "node/XX" for Finnish).

🐛 Bug report
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

🇫🇮Finland teemuaro

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