Replies: 1 comment 3 replies
-
Hi @Nitaaq. I tested out a similar scenario to yours and was not able to reproduce it. I did this: <Link href="/posts/[...slug]" as="/posts/abc"><a>link to slug 1</a></Link> with a directory of:
and ran a I'd also recommend upgrading to v9.5.3 where the |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I've been trying to create a next js app that catches all links (permalinks) to one page,
first i've created a [...permalink].js page in pages root, lets call this page the permalink handler page for future reference
then all my links were like this :
<Link href="/[...permalink]" as="path/to">Link</Link>
which works great on the server side and the client side in development mode
when i go to production the following happens:
when i click the link, i get the permalink handler page, but i also get this message in console :
when i refresh the page for SSR, i get 404 right away
maybe my approach to the whole thing is wrong, any help is much appreciated
Beta Was this translation helpful? Give feedback.
All reactions