"Not found" when accessing the page through url

I am currently using React and there is an instance in my page where after stripe transaction is successful it should go to /cart/success but it is not found.

It is the same thing when I am accessing the page through url, it says “Not found”

I tried editing the Redirects/Rewrites /* to /cart/* and other types of combination, it does not work


“Not found” on a Static Site means the static file of that name wasn’t found at that path.

This can also be a common issue when using a site with client-side routing, e.g. React Router. We have docs here to setup a rewrite to work with client-side routers: https://render.com/docs/deploy-create-react-app#using-client-side-routing


If you could share some specific details of the issue you are experiencing that may help us troubleshoot it with you, e.g. any logs/errors/output, specific URLs, service name/ID, reproduction steps, etc.

If you don’t want to share these details on the community forum, please feel free to raise a ticket from the “Help” or “Contact Support” links while logged into the Dashboard.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.