Rewrite settings not working?
-
I setup a custom post type (products) and a custom taxonomy (product-categories). I would like this url structure: domain.com/category-name/subcategory-name/post-slug (no base).
If I understand the post-type and taxonomy rewrite settings, I have configured them to do what I’m wanting. But no matter what I set them to, I can only get domain.com/products/post-slug (no categories). I can change the base slug with the Custom Rewrite Slug field but I can’t figure out how to exclude the base slug and include category hierarchy.
If it matters, settings > permalinks is set to custom structure: /%category%/%postname%/ and category base is set to “.”. Though I’m not sure if that applies to anything but standard posts(?).
What am I missing here? Do I still need to add function code or a permalink plugin to get this to work?
- The topic ‘Rewrite settings not working?’ is closed to new replies.