Redirect on 404 #10043
Answered
by
lucasrothman
lucasrothman
asked this question in
Q&A
Redirect on 404
#10043
-
Hi all, I'm building a Remix app and instead of handling 404s by keeping the url and showing an error boundary, I'd like to just redirect to a static /404 page that I've made. Have tried just putting redirect in my root error boundary but that doesn't seem to work. Any help would be appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
lucasrothman
Sep 30, 2024
Replies: 1 comment
-
This works, is this the recommended method? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lucasrothman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#8436
This works, is this the recommended method?