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

404 http code when requesting non-existent page? #5

Open
vsnig opened this issue Apr 4, 2015 · 0 comments
Open

404 http code when requesting non-existent page? #5

vsnig opened this issue Apr 4, 2015 · 0 comments

Comments

@vsnig
Copy link

vsnig commented Apr 4, 2015

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.

Similar discussion on react-router page remix-run/react-router#458 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant