Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

301 redirects #11069

Closed
LaurenFBaily opened this issue Jul 31, 2024 · 3 comments
Closed

301 redirects #11069

LaurenFBaily opened this issue Jul 31, 2024 · 3 comments

Comments

@LaurenFBaily
Copy link

What

Create 301 redirects:
https://wellcomecollection.org/pages/Wuw2MSIAACtd3Stq -> wellcomecollection.org/about-us
https://wellcomecollection.org/pages/YDaZmxMAACIAT9u8 -> wellcomecollection.org/get-involved
https://wellcomecollection.org/guides/exhibitions -> wellcomecollection.org/exhibition-guides

Why

Background

See epic: Descriptive urls

Done when

@gestchild
Copy link
Contributor

gestchild commented Oct 2, 2024

Maybe not for this, but when we start redirecting stories/events etc. it would be worth looking at https://nextjs.org/docs/app/building-your-application/routing/redirecting#redirect-function

It might have performance issues compared to the way we do redirects with Cloudfront

@rcantin-w
Copy link
Contributor

I've started auditing the current redirects and there's a LOT of them who will cause loops if permanent, so we might have to change the UID of those pages so it doesn't match an old redirect. Anyway, something to test.

@rcantin-w rcantin-w moved this from Next to In progress in Digital experience Oct 24, 2024
@LaurenFBaily
Copy link
Author

Closing as duplicated by #11280

@github-project-automation github-project-automation bot moved this from In progress to Done in Digital experience Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Archive
Development

No branches or pull requests

3 participants