Support » Fixing WordPress » Custom posts and taxonomies url/permalink problems

  • Hi. I’m developing a web site for a company that sell tour packs all around the globe.

    I was reading that the best way to achieve it is by using CPT and taxonomies… So I create a custom post type called “pack” (tour packs), and later custom taxonomy: “class” (for pack categorization).

    The cpt works great: The archive page: “” list all packs like a charm.

    BUT, there are things that doesn’t seem clear to me. And I don’t know if I’m missing something, or this is the natural wp behaviour.

    1 PROBLEM:
    Url structure doesn’t make sense:

    For example, I write a tour pack for Rio de Janeiro in packs:

    Ex: “Rio de Janeiro 2013” (PACK) -> “International” (CLASS)
    URL: “”

    As you can see WP show the pack url without taxonomy:

    This should be:

    Ex: “Rio de Janeiro 2013” (PACK) -> “International” (CLASS)
    URL: “”

    BTW, I can’t even create a proper page for taxonomy: “”. I only can achieve it by parsing a custom query like this: “”. But that kind of url are not seo friendly…

    Also, have this structure allow to build human-friendly breadcrumbs for site navigation (“Home >> Packs >> International >> Rio de Janeiro 2013”)

    2 PROBLEM:
    Pagination not working:

    Simple: In the CPT archive page the pagination works ok:


    But what happen when I list taxonomies? The only way I can is like this: “” in order to list international packs. But navigations in this kind of pages with “?” queries doesn’t work. No 404 pages, only showing the same posts…

    – click “previous posts” –
    “” (o.o?)
    at least this should be:
    “” (is redirected to the above url)

    This of course, doesn’t work in any way…


    I was reading a lot about this… but the docs are not rly clear to me, I’m kinda newbe in cpt stuff. I read something about url rewrite functions but seems complicated to me.

    I’m also using custom fields to filtering results, and this mix make it more complicated…

    I rly appreciate your opinion, maybe this post help other developers…


  • The topic ‘Custom posts and taxonomies url/permalink problems’ is closed to new replies.