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 Burger, Pancake, Waffles, and 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?
Foodstill doesn't appear. I think a solution for this is making sure to create all child categories first before adding and setting the parent category. That's based on my feedback on the answer below. Thanks though. :D – ton Sep 29 '12 at 18:43