I found out something weird today.
The current permalink is set to
/%category%/%postname%/ but this happens (example):
I have a parent category
Food and 4 subcategories
Pizza. As expected, the link should appear like this:
foo.com/food/burger/post-name but it only works on 2 of my categories and looks like so:
foo.com/food/burger/post-name-1 foo.com/food/pancake/post-name-2 foo.com/food/post-name-3 foo.com/food/post-name-4
I'm refreshing the permalink settings but it doesn't seem to work.
I've even tried renaming Burger and Pancake to something else, both of them still look fine. But even if I rename Waffles and Pizza to Burger and Pancake, they still don't appear in the permalink.
Any quick solutions for this? Do I have to enter a custom taxonomy thingy?