question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 non-existent routes

See original GitHub issue

In new UI, routes like https://filterlists.com/404 do not exist and should return a proper 404 response and page or redirect to a valid page.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tom-valcommented, Oct 5, 2020

As far as I know doing it from react router is possible only with server side rendering enabled

1reaction
tom-valcommented, Oct 5, 2020

I can either show NotFound component, or redirect to home page. Which would you prefer?

Read more comments on GitHub >

github_iconTop Results From Across the Web

That route does not exist! Getting a 404 error when making ...
I set up a 404 error code route when a route does not exist and for some reason its going off but i...
Read more >
Not getting 404 error when I use a route with an ID that ...
Not getting 404 error when I use a route with an ID that doesn't exist. So maybe I am just trying to be...
Read more >
Return a 404 error for non existing routes · Issue #982
If an endpoint does not exists on nginx it returns an 404 not found error back. This functionality is missing on contour. On...
Read more >
Error 404: 4 Ways to Fix It
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >
{% Exit 404 %} doesn't work right with routes
I want everything that's /projects/type/ to use category, and /projects/<project name> to go to the actual project pages. (and I can't change ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found