3 ms·
My thought was to serve a 307 (or some other redirect HTTP code, clearly I am not a web developer) instead of a 404, not to serve the found content “as” the url
by netruk44 2y ago
My thought was to serve a 307 (or some other redirect HTTP code, clearly I am not a web developer) instead of a 404, not to serve the found content “as” the url that didn’t exist.
But agreed this would not be good general practice. It was mostly a thought experiment.
- gwbas1c 2y ago> The safe thing to do is return a 404 with a few suggested links. The 404 communicates to search engines, archive.org, ect, that the link is broken. The human-readable text on the 404 page can contain a link to the correct page. It could even contain a few paragraphs too. Should get close enough to your original idea without too many unintended consequences.