You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to send 404 error code when requesting a non-existent page? I ran the app on my server and requested the url http://localhost:5000/rooms/nonexistentroom
The page said Failed to load room. Not foundNot found404 but the http response code was still 200. It's crucial feature for SEO, we must respond with 404 when page doesn't exist.
Is there any way to send 404 error code when requesting a non-existent page? I ran the app on my server and requested the url http://localhost:5000/rooms/nonexistentroom
The page said
Failed to load room. Not foundNot found404
but the http response code was still200
. It's crucial feature for SEO, we must respond with 404 when page doesn't exist.Similar discussion on react-router page remix-run/react-router#458 (comment)
The text was updated successfully, but these errors were encountered: