Next/Link not loading fixed path routes? #16388
Unanswered
mathewtrivett
asked this question in
Help
Replies: 1 comment
-
The example you outlined should work. I tested it and when I am on the Do you happen to have a repository you could share? Also the link for Although if you install |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi I was wondering if someone could give a bit of help?
We're using Next and Next/Link for a headless Wordpress site.
Some pages are dynamic, routed from the pages directory. Others used a fixed route type page. See an example directory structure below:
Imagine we a menu with links that look like this:
If I'm on the
/news/a-slug
page, when I click on/news/overview
it pushes that URL into browser history but doesn't actually navigate me there. Am I doing something wrong here?Can you use Next/Link for pages that don't have a dynamic component?
Beta Was this translation helpful? Give feedback.
All reactions