Hi, I have a couple pages deployed with Netlify and have never ran into this issue.
Currently the site is deployed and active. This site loads with the Home page active. When I got to the Navbar to select one of the other pages I get a page not found error. Running everything on Local Host provides no issues. The Navbar is from bootshrap however links at the bottom of the page have the same issue. Any link that take you away from the page does work as well. The links with issues are those that you remain on the webpage just going to a different section.
I do apologize as I tried to give more information when making this post. I had already viewed all of the articles you had listed and they did not help in this situation.
What was happening is the build would complete and the main/home page would load. When you try to use the Nav bar to bring you to one of the other pages you would get the 404 error saying “page not found”.
I found out with using react and local host using a “/comments” for the page works completely fine. However, when deploying to netlify it does not read it like your local host.
I was able to fix this issue by adding a _redirects file with " /* /index.html 200 ". Now I am able to switch to the other pages on the website.
Hi @JMajane , welcome back to the forums! No worries (: I appreciate you coming back to the forum and letting us know what worked to resolve your error.