Clean URLs do not work

Created on 2 October 2024, about 1 month ago

Problem/Motivation

We are running Drupal with clean URLs and aliased paths. For example, we have a node with:

  • ID=2
  • title 'About Us'
  • URL alias /about-us
  • Spanish language translation, the title is 'Sobre Nosotros'
  • URL alias /es/sobre-nosotros

If you are on the English version of the page, the Advanced Language Selector has the spanish URL as /es/about-us - which is invalid. If you are on the Spanish version of the page, the english path is /sobre-nosotros - which is also invalid.

The ALS also struggles with the home page. If you are on the home page (route = ), the ALS has the English URL as /home and the spanish URL as /es/home. Why /home? Because we set our home page to node 14, which has the title 'Home' and the alias /home.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Code

Created by

🇺🇸United States JasonSafro

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

Comments & Activities

Production build 0.71.5 2024