CPT URL Structure
-
Hi Michael,
I hope you can assist me on this:
I’m using several custom post types, let’s say one is named “Cakes” for this example.
I have a problem with the link structure that’s being created using these custom post types:If I create a post and add a category (let’s say “Strawberry Cake” and “Fruitcakes”), when viewing the post, the URL displays as espected:
domain.com/cakes/fruitcakes/strawberry-cakeWhat doesn’t work is if the user navigates to the “fruitcakes” archive.
In this case the URL generated is as following:
domain.com/fruitcakesinstead of the more beautiful way I would expect:
domain.com/cakes/fruitcakesI’ve been trying for ages to fix that but I (and a WordPress group I’m in) can’t figure it out.
Any suggestion?
Cheers,
Julien
The topic ‘CPT URL Structure’ is closed to new replies.