Closed Bug 682005 Opened 13 years ago Closed 11 years ago

http://mozilla.com does too many redirects

Categories

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

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Unassigned)

References

(Blocks 1 open bug)

Details

There's 3 redirects if I start with http://mozilla.com. If I start with http://www.mozilla.com/ (what google links to) I still get 2 redirects. http://mozilla.com => http://www.mozilla.com/ => http://www.mozilla.org/firefox/ => http://www.mozilla.org/en-US/firefox/new $ siege -g http://mozilla.com GET / HTTP/1.1 Host: mozilla.com Accept: */* Accept-Encoding: gzip User-Agent: JoeDog/1.00 [en] (X11; I; Siege 2.70) Connection: close HTTP/1.1 301 Moved Permanently Server: Apache X-Backend-Server: pm-web03 Content-Type: text/html; charset=iso-8859-1 Date: Thu, 25 Aug 2011 16:56:20 GMT Location: http://www.mozilla.com/ Content-Length: 231 Connection: close X-Cache-Info: cached GET / HTTP/1.1 Host: www.mozilla.com Accept: */* Accept-Encoding: gzip User-Agent: JoeDog/1.00 [en] (X11; I; Siege 2.70) Connection: close HTTP/1.1 301 Moved Permanently Server: Apache X-Backend-Server: pp-web04 Content-Type: text/html; charset=iso-8859-1 Date: Thu, 25 Aug 2011 16:56:28 GMT Location: http://www.mozilla.org/firefox/ Keep-Alive: timeout=20, max=968 Content-Length: 239 Connection: close X-Cache-Info: cached GET /firefox/ HTTP/1.1 Host: www.mozilla.org Accept: */* Accept-Encoding: gzip User-Agent: JoeDog/1.00 [en] (X11; I; Siege 2.70) Connection: close HTTP/1.1 302 Found Server: Apache X-Backend-Server: pm-web01 Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private Content-Type: text/html; charset=UTF-8 Date: Thu, 25 Aug 2011 16:56:31 GMT Location: http://www.mozilla.org/en-US/firefox/new/ Keep-Alive: timeout=20, max=996 Pragma: no-cache Connection: close X-Powered-By: PHP/5.2.9 X-Cache-Info: not cacheable; response specified "Cache-Control: no-store" Content-Length: 0 GET /en-US/firefox/new/ HTTP/1.1 Host: www.mozilla.org Accept: */* Accept-Encoding: gzip User-Agent: JoeDog/1.00 [en] (X11; I; Siege 2.70) Connection: close HTTP/1.1 200 OK Server: Apache X-Backend-Server: pm-web03 Vary: Accept-Encoding Cache-Control: max-age=900 Content-Type: text/html; charset=UTF-8 Content-Encoding: gzip Date: Thu, 25 Aug 2011 16:52:28 GMT Expires: Thu, 25 Aug 2011 17:07:28 GMT Transfer-Encoding: chunked X-Powered-By: PHP/5.2.9 Connection: close X-Cache-Info: cached
James, Fred, Raymond, Stephen, Cory, -- thoughts?
We plan on optimizing this. It requires the locale detection to happen when you go to mozilla.com which makes it a bit more complicated, and we decided to reduce the number of moving parts yesterday.
Yeah, this is not new: the non-www version has always been redirecting once more than necessary. I suggest it's something we should fix during the bedrock project.
Severity: normal → minor
OS: Mac OS X → All
Hardware: x86 → All
mozilla.com will become fade away soon, anyway, from what I hear (when the mozilla.org pages are redesigned).
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
Currently http://mozilla.com/ -> http://www.mozilla.org/ -> http://www.mozilla.org/en-US/ And this might be a minor issue now.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Looks good. The first redirect is in the load balancer I think, the second one is the only app-internal redirect. Thus, fixed.
Resolution: WONTFIX → FIXED
You need to log in before you can comment on or make changes to this bug.