Dynamic Routing | Community
Skip to main content
New Participant
June 25, 2024
Solved

Dynamic Routing

  • June 25, 2024
  • 1 reply
  • 463 views

Is it possible to have dynamic routes ? 


Example: 

RouteExampleParams
/pages/blog/[slug].html/blog/a{ slug: a }
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
June 27, 2024

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