Closed Bug 723723 Opened 12 years ago Closed 12 years ago

[Mobile Redirect] aurora.mozilla.org should redirect ...

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: christine.brodigan, Assigned: jlong)

References

()

Details

James, can you help us put the right redirects into place for two use cases.

Currently, a user on a tablet and a smart phone types in aurora.mozilla.org, she is taken to the following desktop page, which features the desktop build: 

http://www.mozilla.org/en-US/firefox/aurora/

This needs to be changed to better suit the user:

#1 - Tablet users (more than 500 pixels wide) bypass the /m site and should be directed to http://www.mozilla.org/en-US/mobile/aurora/

#2 - Smartphone users (less than 500 pixels wide) should be directed to a newly launched page at http://www.mozilla.org/en-US/m/firefox/aurora/

Thanks, can this go into the 1.5 or 1.6 release?
Target Milestone: 1.5 → 1.6
I think I understand now. The tablet user redirect unfortunately has to be client-side which sucks because it's quite slow for the user. That's the way Anthony did it before and it's really the only way to redirect based on screen size. Hopefully we can find a better way to detect tablet users at some point.

done in r101451 and r101451

All the channels are done in those revs.

aurora.mozilla.org (and other channels) redirect to mozilla.org/firefox/aurora. What my changes do is redirect the latter page to the appropriate place. So:

Smartphone: /firefox/aurora -> /en-US/m/firefox/aurora
Tablet: /firefox/aurora -> /en-US/mobile/aurora
Desktop: /firefox/aurora -> /en-US/firefox/aurora

Note that the desktop page does not force the redirect, only /firefox/aurora does (without the locale).

This is exactly the same for the other channels.
Oops, the second revision should have been r101452
Whiteboard: r=101451,101452 b=trunk
Please test /firefox/aurora. We can't test aurora.mozilla.org since it points to the live site.
Keywords: qawanted
This doesn't work on the stock browser on the ASUS Transformer (Tablet). The UA:

Mozilla/5.0 (Linux; U; Android 3.2.1; en-us; Transformer TF101 Build/HTK75) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13 

Maybe you should add Android to the mobile_redirect regex?
I thought the same thing but I left it out for now because I assumed there was a reason it's not already in there. I'll add it in soon.
Group: mozilla-confidential
scumbag bugzilla, keepin' all yur bugz private
Group: mozilla-confidential
Good new here is that on into early Q2 we will no longer do mobile detection this way, the site will be responsive and our detection will be more focused on swapping out download buttons to serve Android downloads when someone hits from a mobile device.

Just a final hurdle on the old site and old design :-)
The tablet and smartphone redirects are not working
Keywords: qawanted
Raymond, and more info? What tablet/smartphones? What UA?
using Samsung  Galaxy Tab stock android browser
Target Milestone: 1.6 → 1.7
Can you put the User-Agent of it here? I don't have one to test it on.

It's likely we can fix it by matching on Android, I just want to be sure.
(In reply to James Long (:jlongster) from comment #13)
> Can you put the User-Agent of it here? I don't have one to test it on.
> 
> It's likely we can fix it by matching on Android, I just want to be sure.

Mozilla/5.0 (Linux; U; Android 3.2; en-us; GT-P7510 Build/HTJ85B) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13
Target Milestone: 1.7 → 1.8
This doesn't work for me Samsung Galaxy S2 on aurora.mozilla.org.
Target Milestone: 1.8 → 1.9
Please try this again. I updated the platform detection.
Keywords: qawanted
Whiteboard: r=101451,101452 b=trunk → r=101451,101452,102622 b=trunk
Target Milestone: 1.9 → 1.10
Target Milestone: 1.10 → 2.0
works now
Keywords: qawanted
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
pushed to production r103614
Whiteboard: r=101451,101452,102622 b=trunk
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Depends on: 826109
You need to log in before you can comment on or make changes to this bug.