• I have a site with a custom taxonomy (“module”) that is applied to five custom post types (“dispatch”, “topic”, “resource”, “question”, and “activity”).

    I would a like URL structure where the CPTs are secondary to the custom taxonomy. For example, for a single “activity called “activity test” in a individual “module” called “module test”: https://example.com/module/module_test/activity/activity_test.

    I have managed to get this working by using “module/%module%/%post_type%/%activity%” for the permastructure for “activity.”

    None of the above are working for me right now — they all throw 404 errors.

    Is this possible with this plugin? Would I need to purchase the pro version?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @mburtis,

    I am afraid it is not possible to use Permalink Manager to create new types of archive pages (I mean the first and last point of your list – the combination of CPT + taxonomy). This is due to the way my plugin stores custom permalinks, which are assigned to content type items based on their IDs. Each taxonomy term has a single unique ID and shows all relevant items from related custom post types.
    CPT taxonomy combinations are not saved anywhere in the database and do not have unique IDs, therefore they cannot have custom permalinks.

    The Pro version allows to define custom permalinks only for single custom terms (the second point of your list).

    Thread Starter mburtis

    (@mburtis)

    Ah. Thank you for this (quick!!) info. I’ve been trying to find a way to do this, and perhaps it’s just not possible. Right now I’m able to get what I need with the following URL structure: https://example.com/module/module_test/?post_type=activity.

    I don’t love having the custom post type passed as a URL variable, but perhaps that the best I can do. . .

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permalinks for Custom Post Types and Custom Taxonomy’ is closed to new replies.