Hello. Jr. Web Developer here so be gentle please.
I’m making a website using react
I’m building a react website using Netlify and pushing it to github https://github.com/benjaminfmoore/crithit and while the site is ugly, most of it works (The form is just for show while I work on this issue lol).
My problem that I’m having is that Since it’s a single page application (loading components and routing in from the single App.jsx file. Whenever I click around inside the site I can connect to outside sites as well.
The problem arises when I try to click back or refresh. I get the standard 404 error. I put a _redirect file in the build folder as well with (/* /index.html 200) in it. Still got nothing. I’m not sure where I’m going wrong so I figured I’d hit the forums.
Thanks in advance!