Hi Hilllary! Thanks for reaching out and trying to help.
I did find a fix for this problem, and it seems to be a thing with react and where I was placing my redirects and netlify.toml file
I thought I should share this information in case there is anyone else struggling with this problem using React:
You do not need a redirects file unless you’re redirecting somewhere. I think this one should have been common sense for me but for some reason it just didn’t connect.
You need to add a netlify.toml file to the root of your application, even if the published directory is different.
In react you need to include this code in your ‘netlify.toml’ file:
from = "/*"
to = "/index.html"
status = 200
- Push and deploy, and it should be working. At least that’s what worked for me, here’s a stack overflow discussion as well as a youtube tutorial detailing the process:
Stack Overflow React Routes Netlify
Netlify React ‘Page Not Found’ Solution 2021