Installing in a different language than en results in a broken homepage link

Created on 14 January 2024, about 1 year ago

Problem/Motivation

Installing in a different language than en results in a broken homepage link

Steps to reproduce

* Install in a language different to en
* drush si -y --locale=nb
* Got to site and see 404
* Click on Logo and see 404

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe

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

Comments & Activities

  • Issue created by @sanduhrs
  • 🇩🇪Germany sanduhrs 🇪🇺 Heidelberg, Germany, Europe
  • 🇨🇭Switzerland colorfield Lausanne

    I could not reproduce (anymore)

    - drush si -y --locale=fr
    - drush en -y la_eu_default_content
    - drush pmu -y default_content
    - Default configuration for the homepage (/admin/config/system/site-information) is /homepage
    - As long as this path exists, works as expected when accessing from /
    - Tried with and without language prefix set in /admin/config/regional/language/detection/url

  • 🇵🇱Poland tomrog Szczecin, Poland

    I also can't reproduce this, but... While I was trying to set up and re-set up, at some point switching between importing existing configuration from the repository (ddev drush si --existing-config) and fresh install with a different language (drush si -y --locale=nb), I saw the /en/homepage being used as a homepage url. Refreshing the page, logging in as admin or clearing caches was solving the issue, so it might be some caching issue - maybe not related to the project itself.

Production build 0.71.5 2024