Permalink structure not consistent
-
Hello all,
I am building a website using WordPress 5.3.1 and just ran into an issue I can’t seem to get my head around it.
I use several post categories: a few parent categories and a bunch more sub or children categories, like this:
PRODUCT MAIN CATEGORY 1 (parent)
+ SUB CATEGORY 1A (sub category)
++ POST 1A-01
++ POST 1A-02
+ SUB CATEGORY 1B (sub category)
++ POST 1B-01
++ POST 1B-02
PRODUCT MAIN CATEGORY 2 (parent)
+ SUB CATEGORY 2A (sub category)
++ POST 2A-01
++ POST 2A-02
+ SUB CATEGORY 2B (sub category)etc.
My problem is that permalink structure is different for items in different categories.
The preferred permalink structure would be:my.domain.com/product-main-category/sub-category/post
However, this only works for one of the main categories (the first main category I created), while other main categories would show like: my.domain.com/product-main-category/post, missing the sub category from the url.
Permalinks settings is “Custom” with /%category%/%postname%/ as structure.
I’m sure that the solution is something very simple, yet I’m not able to find it and it makes me crazy. ??
Any help would be appreciated, thanks a lot!
- The topic ‘Permalink structure not consistent’ is closed to new replies.