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

Disabled workflows are indexed by search engines #6369

Open
eatyourgreens opened this issue Oct 10, 2024 · 0 comments
Open

Disabled workflows are indexed by search engines #6369

eatyourgreens opened this issue Oct 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Oct 10, 2024

Package

  • app-project

Describe the bug

Disabled workflows, like Squirrel Mapper's Just Squirrels!, still send 200 responses, so are still available in search engines. When you click through to one, the classifier won't load, because the workflow isn't active. Visitors entering the page from a search engine won't be aware that there's a different workflow currently active.

DuckDuckGo results for Squirrel Mapper, including the disabled Just Squirrels! workflow.

To Reproduce

https://duckduckgo.com/?q=squirrel+mapper+zooniverse

Expected behavior

HTTP gives you a few response options for resources that aren't available any more, depending on whether the workflow is temporarily unavailable or permanently removed.

  • 404: show a 404 page in the browser and remove this URL from search engine indexes.
  • 300-series redirects: Redirect browsers to another page. Depending on the exact status code, may direct search engines to replace the current URL with the redirected URL.
  • 200: continue to serve a page for the inactive workflow, but show user-friendly options in place of a broken classifier.

Additional context

Here are my notes, from 2021, about managing URLs.

@eatyourgreens eatyourgreens added the bug Something isn't working label Oct 10, 2024
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