Answer the question
In order to leave comments, you need to log in
How to include categories and subcategories in wordpress links?
It is necessary to set up links for a post like
site.ru/category/subcategory/subcategory/subcategory/name
Everywhere they write that it is enough to set the link structure /%category%/%postname%/
But at the same time, the link is obtained
site.ru/first category/record name
and the category structure is as it should be
site.ru/category/subcategory/subcategory/
Answer the question
In order to leave comments, you need to log in
Everything works, if you do not mark the Parent rubric. When you select a child category, WordPress automatically assigns posts to its parent category as well.
- [ ] Родительская категория
- [x] Дочерняя категория
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question