I've been putting in a substantial amount of time on this project. I'm encountering some 404 errors on my dynamic pages, even though they work perfectly fine on localhost. I've tried using revalidate and playing around with fallback: true and false, but it doesn't seem to be functioning as expected.
Below is an example of the full-page code from one of my pages:
/* Your code snippet here */
My content is dynamically changing regularly, so Next.js should be able to generate those static files. I'm really at a loss here. I've done extensive research and attempted various strategies, but none have resolved the issue.
When I post something from the CMS, it creates new routes. However, after running the build command, it returns a 404 error.