Is there a way to return 404 page if using default prefix in url? #59980
Unanswered
websorokinweb
asked this question in
App Router
Replies: 1 comment 8 replies
-
i guess this would help? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Desired behaviour:
domain.com - handles pages with default locale (ua)
domain.com/ua - returns 404
Is that even possible without redirect?
My next config:
i18n: {
locales: ['ua', 'en'],
localeDetection: false,
defaultLocale: 'ua',
},
Beta Was this translation helpful? Give feedback.
All reactions