Form is working, but link back to site from "Thank you" page returns 404

The form on my site is working well (OverDawgData). I’m able to see submission in the Netlify form dashboard and when I click submit, I’m taken to the expected Netlify “thank you” page. However, when I click “back to site” on the “thank you” page, I get a 404 instead of going back to the Sign Up page.

Form can be found here: OverDawgData

Form code is below:

  <form name="OverDawgEarlyAccess" method="post">
                  <input type="hidden" name="form-name" value="OverDawgEarlyAccess" />
                    <div className="mb-12">
                      <label>
                      Name:
                        <Input
                        type="text"
                        name="name"
                        required/>
                      </label>
                    </div>
                    <div className="mb-12">
                      <label>
                        Email:
                        <Input
                        type="email"
                        name="email"
                        required/>
                        </label>
                    </div>
                    <div className="mt-24 mb-32">
                      <Button color="primary" wide type="submit">
                      Get Early Access
                      </Button>
                    </div>
                  </form>

You should be able to recreate this issue by submitting the form on the Sign up page and clicking through the links.

Thank you for your help!

I get a 404 for the link. It’s possible you’re using React Router as I have seen this link issue many many times now. Try creating a _redirects file with the content: '/* /index.html 200'

Thanks! where the redirect folder go? In the root? Or build?

The _redirects is a file not a folder. It goes in the public folder (you can try with root of repo too). Read here: Redirects and rewrites | Netlify Docs

Thanks - tried that, but no luck. See the screenshot below. Does all look correct?

My bad, I should have mentioned, without the quotes. Kindly try removing them.

It worked! Thanks so much!