Closed Bug 984777 Opened 10 years ago Closed 10 years ago

Categories

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

Production
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: yli, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [kb=1329965] )

Please don't mark bug as employee confidential if it is not needed :)

It is a regression as it used to show the en-US page as a fallback and not a 404, I am not seeing recent changes in the .htaccess file or includes/prefetch.php on the php side, so my guess is that a redirect/regex catching urls for the features page on Bedrock regressed that.
Group: mozilla-employee-confidential
Component: Pages & Content → Bedrock
Digging a bit, I think this is because the php features page for en-US was deleted on the PHP side in r123400 and there is no bedrock fallback set up to display the newer page on the Python side, so if we had no page for the locale, it no longer falls back to en-US.

Given that localized versions are already a bit out of date and that my understanding is that we are going to replace this page soon because of Australis, I am tempted to just redirect all features page for locales to bedrock and en-US as this is probably causing lots of 404s on the server. Jennifer, what do you think?
Flags: needinfo?(jbertsch)
Chris and Steven -

Any thoughts?

We are getting rid of /firefox/features altogether for all locales on April 29.

Thx,
Jen
Flags: needinfo?(steven)
Flags: needinfo?(jbertsch)
Flags: needinfo?(chrismore.bugzilla)
Since this page never existed in the zh-CN locale, it used to load the en-US page as a fallback. I would propose we leave this as a 404 since there was never a distinct zh-CN page at this URL.

Is the URL being used anywhere prominent? We can probably come up with a more appropriate location.
Flags: needinfo?(steven)
(In reply to Jennifer Bertsch [:jbertsch] from comment #3)
> Chris and Steven -
> 
> Any thoughts?
> 
> We are getting rid of /firefox/features altogether for all locales on April
> 29.
> 
> Thx,
> Jen

Should we just redirect people over to:

http://www.firefox.com.cn/desktop/features/ 

?

We already redirect this:

http://www.mozilla.org/zh-CN/

We are receiving about ~1,400 of these 404s per day and 93% are coming from inside China.
Flags: needinfo?(chrismore.bugzilla)
No objection from me on the redirect, but I would prefer that the fallback to en-US for this page actually works as it used to as we can't redirect all the locales without a feature page to external sites.
(In reply to Chris More [:cmore] from comment #6)
> Should we just redirect people over to:
> http://www.firefox.com.cn/desktop/features/ 

+1
We are getting similar 404s for:

/zh-CN/mobile/
/zh-CN/firefox/releases/whatsnew/
/zh-CN/firefox/*/firstrun/

Here are some options:

1) Do a bunch of individual redirects on www.mozilla.org to redirect to specific URLs on www.firefox.com.cn.

2) Redirect all www.mozilla.org/zh-CN/* traffic to http://www.firefox.com.cn/

3) Fix the www.mozilla.org redirects so they go to en-US even though nearly all of these users have their browser set to zh-CN.

Seems like #2 is the easiest and get the user to their native language. They will then have to navigate to other URLs, but it will be tricky to set up redirects to different URLs on their website and then hope they don't break.
Hardware: x86 → All
(In reply to Chris More [:cmore] from comment #10)
> We are getting similar 404s for:
> 
> /zh-CN/mobile/
> /zh-CN/firefox/releases/whatsnew/
> /zh-CN/firefox/*/firstrun/
> 
> Here are some options:
> 
> 1) Do a bunch of individual redirects on www.mozilla.org to redirect to
> specific URLs on www.firefox.com.cn.
> 
> 2) Redirect all www.mozilla.org/zh-CN/* traffic to http://www.firefox.com.cn/
> 
> 3) Fix the www.mozilla.org redirects so they go to en-US even though nearly
> all of these users have their browser set to zh-CN.
> 
> Seems like #2 is the easiest and get the user to their native language. They
> will then have to navigate to other URLs, but it will be tricky to set up
> redirects to different URLs on their website and then hope they don't break.

Hi Chris,
For the #2, we are not ready to hosting all of the traffic of www.mozilla.org/zh-CN/*.
We prefer #3, redirect 404s to the en-US pages.
(In reply to Yousheng Li [:yli] from comment #11)
> (In reply to Chris More [:cmore] from comment #10)
> > We are getting similar 404s for:
> > 
> > /zh-CN/mobile/
> > /zh-CN/firefox/releases/whatsnew/
> > /zh-CN/firefox/*/firstrun/
> > 
> > Here are some options:
> > 
> > 1) Do a bunch of individual redirects on www.mozilla.org to redirect to
> > specific URLs on www.firefox.com.cn.
> > 
> > 2) Redirect all www.mozilla.org/zh-CN/* traffic to http://www.firefox.com.cn/
> > 
> > 3) Fix the www.mozilla.org redirects so they go to en-US even though nearly
> > all of these users have their browser set to zh-CN.
> > 
> > Seems like #2 is the easiest and get the user to their native language. They
> > will then have to navigate to other URLs, but it will be tricky to set up
> > redirects to different URLs on their website and then hope they don't break.
> 
> Hi Chris,
> For the #2, we are not ready to hosting all of the traffic of
> www.mozilla.org/zh-CN/*.
> We prefer #3, redirect 404s to the en-US pages.

Ok, that works and thanks for letting us know. 

So, #3 it is.
Whiteboard: [kb=1329965]
Depends on: 979670
The URL now goes http://www.mozilla.org/zh-CN/firefox/desktop/ instead of 404.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
It works now, thanks for all!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.