diff --git a/libs/fundamental-redirects/index.js b/libs/fundamental-redirects/index.js index 634686abca37..e709085585a5 100644 --- a/libs/fundamental-redirects/index.js +++ b/libs/fundamental-redirects/index.js @@ -1232,6 +1232,20 @@ const MISC_REDIRECT_PATTERNS = [ ({ prefix, subPath = "" }) => `/docs/${prefix}${subPath}`, { permanent: true } ), + // Content archived as part of the GCP migration. + redirect(/^diagrams\/?$/i, "https://mdn.dev/archives/media/diagrams/", { + permanent: false, + }), + redirect( + /^presentations\/?$/i, + "https://mdn.dev/archives/media/presentations/", + { + permanent: false, + } + ), + redirect(/^samples\/?$/i, "https://mdn.dev/archives/media/samples/", { + permanent: false, + }), ]; const REDIRECT_PATTERNS = [].concat(