Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

Dynamic Routing

Avatar

Level 1

Is it possible to have dynamic routes ? 


Example: 

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

Avatar

Correct answer by
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

View solution in original post

1 Reply

Avatar

Correct answer by
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