The community member created a dynamic page at the URL /:cataslug* to display blog articles based on category titles, and also created a regular page with the same path /category-name. The community member's goal is to show the regular page content instead of the dynamic page, and to use a different design and layout for certain blog categories. The comments suggest that the more specific path (the regular page) will always take precedence over the dynamic page, and that the community member should structure the URL to have a static part handled by static pages and a dynamic part handled by dynamic pages.
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.
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