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

Moved pages should redirect to new page locations #463

Open
JoshuaKGoldberg opened this issue Feb 12, 2024 · 0 comments
Open

Moved pages should redirect to new page locations #463

JoshuaKGoldberg opened this issue Feb 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JoshuaKGoldberg
Copy link

JoshuaKGoldberg commented Feb 12, 2024

What version of Effect is running?

n/a

What steps can reproduce the bug?

  1. Visit https://effect.website/docs/style/brands
  2. Get a 500 internal server error from 404 pages not being handled well: 500: Internal Server Error on 404 pages #462

What is the expected behavior?

When a page resources moves, there should be some kind of indication on the old page that the resource is now located at a different page. 301 Permanent Redirect is one common way to do that.

What do you see instead?

Following a move of the page on type brands, Google still shows a featured snippet for the old page:

Google search result's featured snippet for "effect ts branded types": a link to https://effect.website > docs > style > brands.

Additional information

https://developer.mozilla.org/en-US/docs/Web/HTTP/Redirections documents HTTP redirects.

https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes has docs, in particular https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes#create-a-mapping-of-old-to-new-urls for more redirect strategies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant