Closed pdpinch closed 2 years ago
Turns out this isn't fast and easy so I will connect with @blarghmatey at some point here to do this.
This is a good task to work on after we finish the setup to get Fastly provisioned via Pulumi for #840
@pdpinch Can we have an example of a high-school
link to test things out
All these URLs should 302 redirect to https://mitocw.zendesk.com/hc/en-us/articles/5332864282907
https://ocw.mit.edu/high-school/physics/chandra-astrophysics-institute/ https://ocw.mit.edu/high-school/iit-jee/exam-prep/ https://ocw.mit.edu/high-school/humanities-and-social-sciences/godel-escher-bach https://ocw.mit.edu/high-school/engineering/audio-and-speaker-electronics https://ocw.mit.edu/high-school/engineering/guitar-building https://ocw.mit.edu/high-school/mathematics/combinatorics-the-fine-art-of-counting https://ocw.mit.edu/high-school/physics/the-big-questions https://ocw.mit.edu/high-school/physics/excitatory-topics-in-physics
@pdpinch This is now deployed on QA
This is live on production as of yesterday
The OCW "highlights for high school" was abandoned in next gen, but people are still looking for it. To avoid lost of customer support issues, we'd like to direct them to a page explaining the decision. Eventually, a few of the courses will be ported to nextgen, although as regular courses.
The OCW team attempted to add a redirect through fastly, but it seems like they are limited to one-to-one redirects. No wild cards.
They'd like to redirect everything that starts with the path
/high-school/
to go to https://mitocw.zendesk.com/hc/en-us/articles/5332864282907