<Link href="/"> shows 404 page until refreshed
Unanswered
Oak shoot sawfly posted this in #help-forum
Oak shoot sawflyOP
Hello, I'm converting a project to use next/link. Everything works OK as far as I can tell apart from links that go to the homepage route ("/").
The client side navigation kicks in and the URL changes in the browser, but our custom not-found page is shown. The only way for the real page to be shown is if I refresh.
The homepage as well as all other content pages are using a catch all route [[...slug]] folder
Is this a known issue or possibly something incorrectly setup with the not-found page?
It is deployed to Vercel, I can't seem to reproduce this locally.
Part of the data fetch in the network tab has the following content:
The client side navigation kicks in and the URL changes in the browser, but our custom not-found page is shown. The only way for the real page to be shown is if I refresh.
The homepage as well as all other content pages are using a catch all route [[...slug]] folder
Is this a known issue or possibly something incorrectly setup with the not-found page?
It is deployed to Vercel, I can't seem to reproduce this locally.
Part of the data fetch in the network tab has the following content:
a:E{"digest":"NEXT_NOT_FOUND"}