• Resolved freelylw

    (@freelylw)


    Hi, I have several different custom post type, they have different categories attached, so I want them to have different permalinks structure. for example:

    website.com/posttype1/category/country/city/posttitle
    website.com/posttype2/name/city/data/posttitle
    etc…

    Can you please advise how/where to setup this for different post type? Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    You’re going to need to probably dive into the Rewrite API and conditionally work with each one’s structure, which is much more than what CPTUI is able to handle on its own. We technically only handle smaller details like if the post type should be integrated with the rewrite API in general, as well as what value to use for the permalinks, in the /posttype1/, /posttype2/, etch spots. Same thing for taxonomies but with the taxonomy slug only, not really the terms themselves.

Viewing 1 replies (of 1 total)
  • The topic ‘different permalinks structure for different post type ?’ is closed to new replies.