Home
Support Forums

Netlify Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site

Hi Netlify Team,

I recently deployed my app (https://confidential.netlify.app/) on your platform and it’s been working fine. However, to my utter dismay, this app - which I developed with React - can only route to the home page. If I try to route to another link on the site, it will log an error. Let’s say I try to route to (https://fov.confidential.app/login for instance, it will return an error. I have attached the error log for your reference here - CaptureNetlify.

I am using react-router-dom for routing inside my app. On my localhost, the routing works perfectly. Nonetheless, I only encounter this error while viewing it using the link above.

I hope for your due response.

Hi @techiesodiq

You need to create a rewrite rule as per the History pushstate and single-page apps section of the Rewrites and Proxies documentation.

Thanks. That was really helpful. I just solved it.