Open Bug 938724 Opened 11 years ago Updated 5 years ago

Web server redirect config: 404 pages should not redirect to localized version

Categories

(www.mozilla.org :: Bedrock, defect)

defect
Not set
major

Tracking

(Not tracked)

People

(Reporter: BenB, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [kb=1303057] )

Environment:
- German browser
- or Language is set to German
i.e. Accept-Language: de-de
i.e. http://browserspy.dk/language.php shows "Language de-DE, Accepted-Languages de-de, ..."

Reproduction:
1. Go to preferences | Content | Languages | Choose... and
   add "German/Germany [de-de]", and move it to the top of the list.
2. Go to https://www.mozilla.org/Security

Actual result:
- You get redirected to https://www.mozilla.org/de/Security
- This does not exist, so gives 404 "Page not found".

Expected result:
- You get https://www.mozilla.org/Security with the English content

Generally:
- Whenever there is no corresponding translated version, *or* the translated version is outdated, then the redirect does not happen.
- or Subpages do not redirect, only the main https://www.mozilla.org redirects to a localized version.

This bug does not only affect this particular page, but any such pages.

Importance:
Major - loss of an important function
Summary: https://www.mozilla.org/Security should not redirect to localized version → Web server redirect config: https://www.mozilla.org/Security should not redirect to localized version
Ah, http://www.mozilla.org/security/ works

So apparently the redirect happens only for pages that are 404 anyway. That's still confusing and the redirect shouldn't happen.
Summary: Web server redirect config: https://www.mozilla.org/Security should not redirect to localized version → Web server redirect config: 404 pages should not redirect to localized version
Assignee: mitchell → nobody
Component: Miscellaneous → Bedrock
Product: mozilla.org → www.mozilla.org
Component: Bedrock → L10N
Component: L10N → Bedrock
Whiteboard: [kb=1303057]

Solved. Please use de-DE in URL (link: https://www.mozilla.org/de-DE/security/) and not de (link: https://www.mozilla.org/de/Security/).

Flags: needinfo?(kohei.yoshino)

Sorry, I take my statement back.

Flags: needinfo?(kohei.yoshino)
You need to log in before you can comment on or make changes to this bug.