Join the Webstudio community

Updated 6 months ago

Question about Dynamic Pages and Regular Pages

At a glance
I created a dynamic page, /:cataslug*, to get blog articles based on category titles. Let's say the URL is example.com/category-name.

Then, I created a regular page with the same path /category-name

When I publish the site, which page will be shown? My goal is to show the regular page content instead of the dynamic. I'm looking to use a different design and layout for certain blog categories.

Is there a way to do that?
B
O
2 comments
More specific path always wins. This means static always wins dynamic.
I think you want to structure your url so that there is a static part in it that you handle with static pages and then dynamic one with dynamic pages, when dynamic part is used - dynamic page will win as the url is more specific
Add a reply
Sign up and join the conversation on Discord