K
K
krinbin2018-07-18 22:29:31
WordPress
krinbin, 2018-07-18 22:29:31

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

1 answer(s)
Y
Yunus Gaziev, 2018-07-18
@krinbin

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 question

Ask a Question

731 491 924 answers to any question