Open
Description
Summary
We do not include a local in the MDN URLs in the Firefox release notes. The goal is for users in non-en locales following links in the release notes to be correctly redirected to their locale.
This is not working for MDN URLs and leads to a 404 in non-English locales.
URL
Example: https://developer.mozilla.org/docs/Web/API/WebCodecs_API
Reproduction steps
- Browse in a non-en locale
- Navigate to a MDN URL without a locale (example https://developer.mozilla.org/docs/Web/API/WebCodecs_API)
Expected behavior
There should be a redirect to your locale (example https://developer.mozilla.org/fr/docs/Web/API/WebCodecs_API)
Actual behavior
404 page
Device
Desktop
Browser
Firefox
Browser version
Stable
Operating system
Mac OS
Screenshot
No response
Anything else?
curl --header "Accept-Language: fr,fr-fr,en-us,en" -LIs https://developer.mozilla.org/docs/Web/API/WebCodecs_API | grep HTTP
Validations
- I have read the Community Participation Guidelines.
- I have verified that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- I have checked that this is a concrete bug. For Q&A open a GitHub Discussion.