Broken link for SPA but _redirects file solution not working

Hi

I have managed to upload my site on Netlify, but it’s a Single Page App (SPA), and the links are not functioning. After a few research here, it seems I needed to add a _redirects plain text file to my root directory (called “build” in this case) before uploading it to netlify, and add the following code to it:
/* /index.html 200

which I did, but still, my links are broken after I upload the whole thing to Netlify.

Is there another way to deal with that issue? Or is there something wrong in my flow?

I’d be really grateful for any help.

Cheers

Hi, @alixkun, that file needs to be in the publish directory not the build directory. Is the file being placed there?

If so, would you please send us a link to this site or the site API ID if you prefer? (Note, we need the API ID not the API key to find the site. That or a link to the site.)