404 when trying to enter a react app route
If your application is working for all the routes when you navigate using <Link> and history.push but throwing 404 Not Found when you type a URL other than http://example.com, say http://example.com/articles, directly in your browser, you need to: Teach your server to handle 404s by redirecting to the index.html page. You can do this in … Read more