I have multiple pages React js Application which has routing in it using react-router-dom package. the routing is working perfectly fine in my local machine and in one of my colleague machine. but, once hosted on Netlify, none of the routing is working instead it throws page not found error. I Don’t know what to do please help me on this.
To enable react router urls, add the following rule to your redirects file:
/* /index.html 200
1 Like
thanks for the response. I have found it and fixed. Solution is to create Toml file with the redirect rule
1 Like