Closed Bug 715192 Opened 14 years ago Closed 10 years ago

Avoid unnecessary redirects

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: kohei, Assigned: kohei)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [kb=1175053] )

There are bunch of unnecessary redirects on the site. e.g. http://www-dev.allizom.org/en-US/firefox/fx/ Firefox Beta /beta/ (no locale) Add-ons https://addons.mozilla.org/ (no locale) https://addons.mozilla.org/firefox/ (no locale) https://addons.mozilla.org/mobile/ (no locale) Personas http://www.getpersonas.com/ (no locale) Support http://support.mozilla.com/ (no locale) http://support.mozilla.com/mobile (no locale) Release Notes /en-US/mobile/9.0/releasenotes (no trailing slash) Supported Devices /en-US/mobile/platforms (no trailing slash) Firefox Free Download /products/download.html?... (no locale) Firefox Affiliates https://affiliates.mozilla.org/ (no locale) These are just some of the *site-wide issue*. It leads to slowing down the performance both server-side and client-side. I think the WebQA team should check such links when creating or updating pages.
Hey James - Can you take a look at this? It may be something to consider and work into the Bedrock site. Let us know your take.
Assignee: nobody → jlong
I'm still seeing bunch of such links on Tabzilla and Bedrock.
Most of the links on bedrock should include the trailing slash because they aren't hardcoded, it uses a referencing system that automatically generates links. It looks like this: {{ url('mozorg.home') }} and the appropriate URL is generated. We're working on making sure all the links use this scheme. As for tabzilla, we can see which of links we can optimize. For external links, we can't include the locale. We have no idea if the external site has been localized in the language the user is currently viewing, and if we hardcode locales there's a possibility of 404 pages happening.
Unassigning bugs from James that are not migration-related bedrock platform bugs. Let me know if you have any questions.
Assignee: jlong → nobody
Component: www.mozilla.org/firefox → www.mozilla.org
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
I'm taking this to fix links on Bedrock.
Assignee: nobody → kohei.yoshino
Status: NEW → ASSIGNED
Whiteboard: [kb=1175053]
Blocks: mozorg-opt
Closing.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.