Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Return 410 code when a question is deleted #203

Open
andyvan-ph opened this issue Aug 25, 2022 · 1 comment
Open

Return 410 code when a question is deleted #203

andyvan-ph opened this issue Aug 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@andyvan-ph
Copy link

andyvan-ph commented Aug 25, 2022

Problem

  • When questions get deleted for whatever reason, that URL becomes a 404. Over time, it'll generate a lot of 404s, which I'd like to avoid.

Solution

  • If a question is deleted, we should return a 410 status, which indicates the page no longer exists and won't be replaced.
@andyvan-ph andyvan-ph added bug Something isn't working enhancement New feature or request labels Aug 25, 2022
@andyvan-ph andyvan-ph self-assigned this Aug 25, 2022
@andyvan-ph andyvan-ph changed the title Bug: /questions generating lots of 404s /questions generating lots of 404s Aug 25, 2022
@andyvan-ph andyvan-ph removed their assignment Sep 13, 2022
@andyvan-ph andyvan-ph removed the enhancement New feature or request label Dec 23, 2022
@andyvan-ph andyvan-ph changed the title /questions generating lots of 404s Return 410 code when a question is deleted Dec 12, 2023
@andyvan-ph
Copy link
Author

Updated this issue @smallbrownbike as it was somewhat out of date. Note at all urgent, but would be sensible thing to do when you get a spare moment.

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

No branches or pull requests

1 participant