Categories : React.JS

When you deploy your react app on netlify you should make some configurations for dynamic url’s otherwise you will see 404 not found page when you refresh page.

To fix not found links we should create “_redirects” file in our app’s public directory

After you create _redirects file we should add this line to it.

Example _redirects file content

/* /index.html 200

Screenshot of _redirects file content

After this configuration you should push your app to github(or which service you use) repository

Leave a Reply

Your email address will not be published. Required fields are marked *