In my Header component I Link like this:<Link to={/products/worldofwarcraft} >Produts`
but when i click on the link in console the site makes a GET request to
Hi, @miroslavmihok. The solution for your site is going to be to add a redirect rule to allow all URLs to be rendered by your site’s client-side routing. There is a support guide about this here:
Just make a file named _redirects in the base directory you are deploying to Netlify. Note, that must be just _redirects and not_redirects.txt. (Some OSes hide file extensions by default which can make this sometimes hard to see.)
That file should contain only this:
/* /index.html 200
Then redeploy the site with that file able and it should resolve the issue. If not, please let us know.
Thank you so much! I put the _redirects file inside public directory of my React App. Inside i just pasted:
/* /index.html 200
and now it works with no GET errors.