Skip to content

Multi-domain language setup: non-default language domain 302 redirects to default domain #1382

@texnixe

Description

@texnixe

Describe the bug
As in the title

To Reproduce
Steps to reproduce the behavior:

  1. Set up two languages in Starterkit and assign a language-specific URL to each
  2. In config, set languages to true and languages.detect to false (should be the default, anyway)
  3. Try to open non-default domain in a browser
  4. See it redirecting to the default domain (Chrome network tab shows a 302 redirect)

Expected behavior
Needless to say that no redirect should happen unless language detection is active.

Kirby Version
3.0.0

Desktop (please complete the following information):

  • macOS
  • chrome, safari

Additional context
https://forum.getkirby.com/t/using-different-domains-for-each-language-in-kirby3-does-not-work-for-me-here-need-ideas-to-solve-the-issue/12282

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions