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?