Error " Page Not Found. Looks like you've followed a broken link or entered a URL that doesn't exist on this site."

Hello,

I have a problem with deploying React.js web applications on Netlify. When I deploy a web application on Netlify I have a message that is displayed “Page Not Found. Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.” How can I fix this problem?

I’d recommend checking out this support guide:

I looked and read this topic. I created the _redirects file in the folder public but the error message still appears :

Could you let us know the name of the site you’re seeing this issue on? I’m no longer seeing a site with the name funny-cascaron-602bec.

Here is the name of the application that I deployed on netlify : moonlit-moxie-a7468b

Here is the name of the site that I deployed on netlify : moonlit-moxie-a7468b

@sid.m I have already solved the problem. To fix this problem I created the netlify.toml file or I added this line of code:

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

I put the netlify.toml file in the build folder and I deployed the build folder on Netlify.

Then the error message is no longer displayed so I solved my problem.

I apologize for the spelling mistakes, because English is not my native language.

Thank you for the advice trying to help me to fix the problem.

Thanks so much for sharing the fix!