mitodl / ol-infrastructure

Infrastructure automation code for use by MIT Open Learning
BSD 3-Clause "New" or "Revised" License
44 stars 4 forks source link

OCW: redirect /high-school/* to ZenDesk help page #771

Closed pdpinch closed 2 years ago

pdpinch commented 2 years ago

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

Ardiea commented 2 years ago

Turns out this isn't fast and easy so I will connect with @blarghmatey at some point here to do this.

blarghmatey commented 2 years ago

This is a good task to work on after we finish the setup to get Fastly provisioned via Pulumi for #840

shaidar commented 2 years ago

@pdpinch Can we have an example of a high-school link to test things out

pdpinch commented 2 years ago

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

shaidar commented 2 years ago

@pdpinch This is now deployed on QA

blarghmatey commented 2 years ago

This is live on production as of yesterday