React Routes work on local but not Netlify

Hey Netlify Community,
I’m having a lot of trouble with this app. My routes aren’t working & I keep hitting the Netlify 404 page. I’m not seeing what’s wrong on this. I tried a netlify.toml & _redirects in my public folder.

This is a react app & I use yarn start in my terminal to run this, here is my repo

I’ve tried these debugging:
1.

2.

Hi, @rickyhaswifi. This site (the first URL in your post) is working when I test now. Did you fix this with a more recent deploy?

If this issue is not resolved, would you please tell us how to reproduce the issue? (For example, where to click to see a route not working.)

https://youtu.be/btG_hk4TSbE

I made a Youtube video with the solution to help all understand

4 Likes

awesome, thanks for that!

1 Like

this worked for me. thanks

1 Like

The video link doesn’t work!

https://youtu.be/JCM_xoWbF70

Video link is updated - Sorry I had to move to a new channel

https://youtu.be/JCM_xoWbF70

Updated video link - Google forced me into a new channel

1 Like

Hey there, @rickyhaswifi :wave:

Thanks for coming back and updating this thread! We appreciate it :netliconfetti: