We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Going to an invalid URL under /blog such as https://nextstrain.org/blog/invalid shows Next.js's 500: Internal Server Error page.
/blog
Catch the error and:
Redirect to /blog
Show an error page similar to the one that appears when there is a Markdown parsing error:
The text was updated successfully, but these errors were encountered:
@victorlin this is probably my fault — I can get it unless you want it?
Sorry, something went wrong.
this is probably my fault
No worries, I don't remember if we had anything in place before your blog changes. It's possible that it was already broken.
I can get it unless you want it?
All yours!
Are you planning to (1) redirect or (2) show a custom error page? I've a slight preference for (2)
I was going to make it properly 404, ala https://next.nextstrain.org/contact/foo
genehack
No branches or pull requests
Going to an invalid URL under
/blog
such as https://nextstrain.org/blog/invalid shows Next.js's 500: Internal Server Error page.Possible solutions
Catch the error and:
Redirect to
/blog
Show an error page similar to the one that appears when there is a Markdown parsing error:
The text was updated successfully, but these errors were encountered: