URL settings for subcategories to blog

Hello! I’m trying to make links according to blog subcategories, but I’m running into a problem.

I tried to make these links act like this:

Category page link - site.com/category (work)

Subcategory page link - site.com/category/subcategory (not work)

Post page link - site.com/category/subcategory/post (work)

CMS Page setup of the Blog Post:

url = "/:category*/:slug"
layout = "blog"
title = "Display a Blog Post"
meta_title = "{{ blog.title }} - Blog"

[section post]
handle = "Blog\Post"
identifier = "slug"

[collection blogCategories]
handle = "Blog\Category"

CMS Page setup of the Blog Category

url = "/:fullslug"
layout = "blog"
title = "Display a Blog Category"

[section category]
handle = "Blog\Category"
identifier = "fullslug"

[collection blog]
handle = "Blog\Post"

Please tell me what is the error? or how can this be implemented?

I tried changing the category page url this way:

url = "/:fullslug*"

But in this case I get this result:

Category page link - site.com/category (work)

Subcategory page link - site.com/category/subcategory (work)

Post page link - site.com/category/subcategory/post (not work)

Hi @9607801 ,

Does this structure fit your application? Sharing some data examples could help provide a more accurate response.

Category page:

url = "/:category"

SubCategory page:

url = "/:category/:subcategory"

Post page:

url = "/:category/:subcategory/:post"

Here’s the link for the page URL syntax: Pages - October CMS - 3.x

Yes, I’m trying to do exactly the way you depicted it. I’m trying to do this on the default blog theme.