Next.js Discord

Discord Forum

how to build a url structure?

Unanswered
useless posted this in #help-forum
Open in Discord
I want to create a url structure for my website. the website is an educational platform that has exams of the lebanese official exams. and i am looking to expand it geographical wise and language wise.

what i have in mind is:
/[language]/[country]/[class]/official-exams/[subject]

example: fr/lb/gs/official-exams/en_lang or en/lb/ls/official-exams/math

the languagesince in my country their are 3 languages that the official exams can be submitted in.
country, since i may be expanding to other near by countries and i want this segment since i want to distinguish between centralized country curriculum and global information. then i have class since i will be targeting different grades.

how can i do so and i want some part of the website to be static and other dynamic since i need a /u
for the user login and profile page.

and for that, is i18n good for this case or not? since i want te website to be fully static,no middle ware or edge functions or SSR or ISR. just static pages and a single dynamic page for the user to login.

thx in advanced

0 Replies