React page not found

I deployed my react app and it was successful but when I tried veiwing it, only the home page shows, the other pages linked to it returns 404. The routes are working fine on my local machine and other hosting platforms. Help

Search the forums and you’d find the answer.

For your reference, the answer would be this: add a _redirects file in your public folder with the content /* /index.html 200.

1 Like