Thank you for creating a great project, but I have this problem, I hope you can help.
When I create a dynamic page outside of wp-templates, when I redirect through a Link it will go to the 404 page, but on hard reload the page loads properly.
Click on the 2 links in the __app file, the /post/example-1/second-comment link works correctly. But the /post/example link will redirect to 404 page, however, when hard reloading, the page will load properly again.
Thank you for creating a great project, but I have this problem, I hope you can help. When I create a dynamic page outside of wp-templates, when I redirect through a Link it will go to the 404 page, but on hard reload the page loads properly.
Steps to initiate the problem:
/src/pages/post/[id]/index.tsx
/src/pages/post/[id]/[comment].tsx
Add to
src/__app.tsx
Click on the 2 links in the __app file, the
/post/example-1/second-comment
link works correctly. But the/post/example
link will redirect to 404 page, however, when hard reloading, the page will load properly again.That's all, Or to be faster you can please check this repo - https://github.com/tuanfront-end/ncmaz-faust-scaffold-ts