When I try to type this route in the URL https://marcatexto.onrender.com/home it’s showing 404 not Found. If I try other routes are not working too, but if I run my project localy is working fine. When I navigate through buttons/interactions on my website the routes are working in render, but if try to change the route in the URL is not working.
I already tried everything with Redirects/Rewrites and Headers too, but it’s not working. The project region that I didn’t choose, it’s saying Global. Can someone help me, pls?
So when a React app is deployed away from ‘localhost’ it will behave very differently. This isn’t a Render issue, it’s a routing issue.
You’re right in that when you click around the app it would work - this is all ‘faked’ by the framework and the address bar updates client side as no actual roundtrips are being made to the server.
When you deep link to one of your routes like /home from a link or directly in the address bar then you need to have this request routed into your sites /index.html - what you’ll do is rewrite /* into /index.html