Problem with ReactJS URL's

Hello people! I have a problem with my application URL. If I pass the URL’s through the react-router-dom it works, but if I type directly into the browser it redirects me to the home page.

Hi Thalles,

Could you try changing the destination to include a forward slash at the beginning. So /index.html instead of index.html

Did not work

I noticed that you have configured /* -> /index.html to be a Redirect Rule. It should be a Rewrite Rule in this case. You can change it by selecting the correct option from the drop down.

1 Like