Is it possible to have dynamic routes ?
Example:
Route | Example | Params |
/pages/blog/[slug].html | /blog/a | { slug: a } |
Solved! Go to Solution.
Views
Replies
Total Likes
Yes, it is possible to have dynamic routes. For example:
Route | Example | Params |
---|---|---|
/pages/blog/[slug].html | /blog/a | { slug: a } |
This can be implemented at the CDN level. If you are managing your own CDN, you can configure rewrite rules to map the dynamic routes to the correct paths downstream.
Yes, it is possible to have dynamic routes. For example:
Route | Example | Params |
---|---|---|
/pages/blog/[slug].html | /blog/a | { slug: a } |
This can be implemented at the CDN level. If you are managing your own CDN, you can configure rewrite rules to map the dynamic routes to the correct paths downstream.