Expand my Community achievements bar.

Dynamic Routing

Avatar

Level 1

Is it possible to have dynamic routes ? 


Example: 

RouteExampleParams
/pages/blog/[slug].html/blog/a{ slug: a }
1 Reply

Avatar

Community Advisor

Hi @ifahrentholz 

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.



Arun Patidar