firefox/4.0/features on about:home systematically sends users to the English page while we have localized version

RESOLVED FIXED

Status

RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: pascalc, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pascalc-Q2])

(Reporter)

Description

8 years ago
1/ about:home
2/ one of the rotating snippets points to http://www.mozilla.com/firefox/4.0/features
3/ click the link with a localized version we have pages for (ex: es-AR)

actual result:
You land on http://www.mozilla.com/en-US/firefox/features

expected result:
you land on http://www.mozilla.com/es-AR/firefox/features


This is because we have 2 htaccess rules:
.htaccess:165: RewriteRule ^(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/4.0/features[/]? /firefox/beta/features/ [R=302]

.htaccess:394: RewriteRule ^en-US/firefox/beta/features(/(index.html)?)?$ /en-US/firefox/features/ [R=301]

The first one leads to /es-AR/firefox/beta/features which doesn't exists and falls back to en-US/firefox/beta/features

The second rule leads to the final feature page but the locale code was lost in the process.

the second rule should be removed and the first one should be:

RewriteRule ^(\w{2,3}(?:-\w{2}(?:-mac)?)?/)?firefox/4\.0/features[/]?$ $1firefox/features/ [R=302]

Comment 1

8 years ago
James/Anthony/Laura - thoughts?
(Reporter)

Comment 2

7 years ago
This has been impacting locales on 4.0 for 2 months, I am going to fix it myself before 5.0 is released, especially since we now have close to 30 locales with a features page on mozilla.com.
(Reporter)

Updated

7 years ago
Whiteboard: [pascalc-Q2]
(Reporter)

Comment 4

7 years ago
r90789 makes the redirect permanent
(Reporter)

Comment 7

7 years ago
r90791 on production
http://www.mozilla.com/firefox/4.0/features/
redirects (with fr accept-lang hearders) to:
http://www.mozilla.com/fr/firefox/features/
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
(Assignee)

Updated

7 years ago
Component: www.mozilla.org/firefox → www.mozilla.org
Product: Websites → Websites
(Assignee)

Updated

6 years ago
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.