Skip to content

fix(cloud-function): redirect URLs missing locales via canonicals#326

Draft
caugner wants to merge 4 commits intomainfrom
279-redirect-missing-locale-via-canonicals
Draft

fix(cloud-function): redirect URLs missing locales via canonicals#326
caugner wants to merge 4 commits intomainfrom
279-redirect-missing-locale-via-canonicals

Conversation

@caugner
Copy link
Copy Markdown
Contributor

@caugner caugner commented May 1, 2026

Description

Motivation

Additional details

Related issues and pull requests

Fixes #279.

caugner added 4 commits May 1, 2026 02:00
Uses CANONICALS to insert missing locales (e.g. /about → /en-US/about),
fall back to en-US when the requested locale lacks a translation, and
recover from unsupported locale prefixes when the rest exists in en-US.
@caugner caugner changed the title refactor(cloud-function): extract getLocalesWithPath into utils fix(cloud-function): redirect URLs missing locales via canonicals May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/about doesn't redirect to /en-US/about

2 participants