Closed
Bug 644248
Opened 14 years ago
Closed 14 years ago
firefox/4.0/features on about:home systematically sends users to the English page while we have localized version
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pascalc, Unassigned)
Details
(Whiteboard: [pascalc-Q2])
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•14 years ago
|
||
James/Anthony/Laura - thoughts?
| Reporter | ||
Comment 2•14 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•14 years ago
|
Whiteboard: [pascalc-Q2]
| Reporter | ||
Comment 3•14 years ago
|
||
fixed on trunk on r90786
http://www-trunk.stage.mozilla.com/firefox/4.0/features/
| Reporter | ||
Comment 5•14 years ago
|
||
r90790 on stage
http://www.stage.mozilla.com/firefox/4.0/features/
redirects (with to
http://www.stage.mozilla.com/fr/firefox/features/
| Reporter | ||
Comment 6•14 years ago
|
||
r90790 on stage
http://www.stage.mozilla.com/firefox/4.0/features/
redirects (with fr accept-lang hearders) to:
http://www.stage.mozilla.com/fr/firefox/features/
| Reporter | ||
Comment 7•14 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
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
Component: www.mozilla.org/firefox → www.mozilla.org
| Assignee | ||
Updated•13 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.
Description
•