Skip to content

Commit

Permalink
Merge pull request #11308 from wellcomecollection/amend-redirections
Browse files Browse the repository at this point in the history
Re-add redirections that should've not been deleted
  • Loading branch information
rcantin-w authored Oct 22, 2024
2 parents 5dc9a63 + cf3f38d commit a1f065d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cache/edge_lambdas/src/redirects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*
*/
export const literalRedirects: Record<string, string> = {
'/about-us': '/pages/about-us',
'/access': '/pages/accessibility',
'/alice-anderson':
'/exhibitions/alice-anderson--memory-movement-memory-objects',
Expand All @@ -44,7 +45,7 @@ export const literalRedirects: Record<string, string> = {
'/eat-me': '/books/eat-me',
'/electricity': '/exhibitions/electricity--the-spark-of-life',
'/event-series/Wo1YeCoAACoAZFoN': '/events/embracing-the-goddess',
'/eventspaces': '/venue-hire',
'/eventspaces': '/pages/venue-hire',
'/exhibitions/skeletons-london%E2%80%99s-buried-bones':
'/exhibitions/skeletons-londons-buried-bones',
'/exhibitions/thinking-body-mind-and-movement-work-wayne-mcgregor-random-dance':
Expand All @@ -54,6 +55,7 @@ export const literalRedirects: Record<string, string> = {
'/exquisite-bodies': '/exhibitions/exquisite-bodies',
'/foreignbodies': '/exhibitions/foreign-bodies--common-ground',
'/forensics': '/exhibitions/forensics--the-anatomy-of-crime',
'/get-involved': '/pages/get-involved',
'/graphic-warnings': '/books/graphic-warnings',
'/graphicdesign': '/exhibitions/can-graphic-design-save-your-life-',
'/high-society': '/exhibitions/high-society',
Expand Down Expand Up @@ -81,19 +83,23 @@ export const literalRedirects: Record<string, string> = {
'/installations/WyuWLioAACkACeYv': '/exhibitions/the-pharmacy-of-colour',
'/MakingNature': '/exhibitions/making-nature',
'/medieval-bodies': '/books/medieval-bodies',
'/opening-times': '/pages/opening-time',
'/packed-lunch': '/event-series/packed-lunch',
'/press': '/pages/press',
'/press/‘forensics-anatomy-crime’-opens-wellcome-collection':
'/pages/forensics-the-anatomy-of-crime-opens-at-wellcome-collection',
'/rawminds': '/schools',
'/readingroom': '/pages/the-reading-room',
'/schools': '/pages/schools',
'/secrettemple': '/exhibitions/tibets-secret-temple',
'/series/X8D9qxIAACIAcKSf': '/series/worry-lines',
'/sexology': '/exhibitions/institute-sexology',
'/somewhere-in-between': '/exhibitions/somewhere-in-between',
'/the-hub': '/pages/the-hub',
'/thisisavoice': '/exhibitions/this-is-a-voice',
'/touring': '/pages/our-touring-exhibitions',
'/user-panel': '/pages/user-panel', // This page is, more often than not, archived.
'/venue-hire': '/pages/venue-hire',
'/visit': '/visit-us',
'/visit-us.aspx': '/visit-us',
'/visit-us/accessibility': '/access', // this will be the final URL and cause a loop
Expand Down

0 comments on commit a1f065d

Please sign in to comment.