Dynamic URLs don’t seem to work

Navigating to base URL and navigating the site works perfectly fine. However, when I open up a new browser and paste any URL beside the base it returns 404.
I also have dynamic URLs which have the same behavior.
I did see a post about ‘/‘ vs ‘./‘ but neither makes a difference.

On local instance it all seems to work perfectly fine.

Thank you

found a fix:
updated package.json “scripts” section from
“build”: “react-scripts build”
to
“build”: “react-scripts build && echo ‘/* /index.html 200’ | cat >build/_redirects”

In case anyone else encounters this and is confused by the posted solution.

@TomS has adjusted their build script to generate a _redirects file.
Where the contents of that file is a rule that rewrites all routes to the index file.

Most often people just manually create this file.

It’s outlined in a warning box in the React documentation:
https://docs.netlify.com/frameworks/react/

The rule itself is outlined here:
https://docs.netlify.com/routing/redirects/rewrites-proxies/#history-pushstate-and-single-page-apps