use localePrefix.mode "never" and "as-neded" together #1781
Unanswered
issam-seghir
asked this question in
Q&A
Replies: 1 comment 1 reply
-
There's an example which does just this: mixed routing. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Next.js app with a landing page and a dashboard. For example:
I want to use the
localePrefix.mode
set to "as-needed" for the landing page for SEO purposes. However, I want to setlocalePrefix.mode
to "never" for the dashboard to keep the URL clean, as SEO is not a concern there. Is it possible to implement this setup?Beta Was this translation helpful? Give feedback.
All reactions