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 error on hard refresh of custom route

See original GitHub issue

Hey @fridays

Thanks for making this, it’s really helpful - Whenever i hard refresh my custom routes, it gives 404 error, when i go through <Link> it just works fine

Any thing which i might be missing ?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
jckwcommented, Sep 4, 2018

I was having the same problem, but turns out the solution was really simple: needed to restart the server between switching Git branches. 🙃

1reaction
lagivancommented, Aug 23, 2018

@mbj36 I’m facing the same issue. Could you please clarify what exactly was wrong with the server configuration? Maybe I need to apply the same fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Page not found when hard refresh - Reactjs - Stack Overflow
I'm developing ReactJs Application.I'm getting page not found (404) error when i hard refresh ...
Read more >
Error 404 not found - What does it mean & how to fix it! - IONOS
Reload the page: It might be that the error 404 has appeared for the simple reason that the page did not load properly....
Read more >
Angular 2 Routing : 404 page not found on refresh - Medium
If you're new to angular then you will encounter a problem like refreshing the page gives 404 Page not found error.
Read more >
Using Angular routes in a single-page application
It is possible for a user to try to access a route that you have not defined. To account for this behavior, the...
Read more >
7.1 Fix Cannot Get/URL on Refresh | React Reach Router
Handing 404 Pages | Fix Cannot Get/URL on Page Refresh | Error | React Router | Reach Router | Handing 404 Pages |...
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