Closed Bug 1197447 Opened 9 years ago Closed 9 years ago

WebOps: Redirect some static assets

Categories

(developer.mozilla.org Graveyard :: Code Cleanup, defect)

defect
Not set
normal

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.
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.
Summary: Redirect some static assets → WebOps: Redirect some static assets
I'll change the product to "WebOps" once we're ready to launch this.
Blocks: 1139490
No longer blocks: 1197444
Depends on: 1197444
Blocks: 1197443
No longer blocks: 1139490
No longer depends on: 1197444
Depends on: 1197444
We should only do this after bug 1197444 is merged *and* lands on production.
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
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.