Closed
Bug 1197447
Opened 9 years ago
Closed 9 years ago
WebOps: Redirect some static assets
Categories
(developer.mozilla.org Graveyard :: Code Cleanup, defect)
developer.mozilla.org Graveyard
Code Cleanup
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: openjck, Unassigned)
References
Details
We currently host images, CSS, and JavaScript at /media. When we move to staticfiles, they will be hosted at /static instead. We'll need to coordinate with WebOps to set up permanent redirects (for the benefit of any hotlinkers) from the old to the new paths. We probably will not be able to do this ourselves in .htaccess (see bug 1145793 for rationale). I'll update this bug with the specific redirect directives when we get closer to launch.
Reporter | ||
Comment 1•9 years ago
|
||
Production also currently has some redirects from /media/redesign to /media (see bug 1145793). We should update those redirects to point straight to /static as part of this.
Reporter | ||
Updated•9 years ago
|
Summary: Redirect some static assets → WebOps: Redirect some static assets
Reporter | ||
Comment 2•9 years ago
|
||
I'll change the product to "WebOps" once we're ready to launch this.
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Comment 3•9 years ago
|
||
We should only do this after bug 1197444 is merged *and* lands on production.
Reporter | ||
Comment 4•9 years ago
|
||
We're moving different asset types to /static one-by-one, so we'll also need to redirect different asset types one-by-one. I'll split this into several smaller bugs to be completed over time.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Updated•4 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•