Forums

Hierarchical custom taxonomy permalink gives 404 (5 posts)

  1. Geerth
    Member
    Posted 7 months ago #

    Hi,

    I'm struggling with a strange problem. First the code:
    [Code moderated as per the Forum Rules. Please use the pastebin]

    with this code, when i visit http://www.domain.com/producten/term1/subterm/product this gives a 404. As soon as I delete 'hierarchical' => true, within the rewrite part of the custom taxonomy and I only use one term, it all works.

    So in short:
    http://www.domain.com/producten/term1/subterm/product <-- does not work
    http://www.domain.com/producten/term1/subterm/ <-- works
    http://www.domain.com/producten/term1/<-- works

    I've no idea what to do anymore, I've flushed the permalinks several times. I switched theme's during updates. I do have a feeling that I have to alter the .htacces file, but i don't really understand what to do. I've red a dozen of articles about this, but most problems are slightly different (or I dont understand it, because my english isn't that great).

    Does anyone have any suggestions?

  2. Geerth
    Member
    Posted 7 months ago #

    The code can be found here: http://pastebin.com/B1A7MvFx

  3. Geerth
    Member
    Posted 7 months ago #

    I still didn't fix this problem. Does anyone got a solution? I've tried working with plugins, but they didn't support the hierarchical part.

  4. flashpunk
    Member
    Posted 7 months ago #

    I'm looking for a solution to this as well.. Any luck?

  5. Jorge A. Gonzalez
    Member
    Posted 2 weeks ago #

    Interested in this as well.

    Looking to structure URLs like:
    http://www.domain.com/producten/term1/subterm/product

    Right now we are forced to use pages as the hierarchy, but looking to build out using custom taxonomies and custom post types.

    Any idea if this will be built out in the future?

Reply

You must log in to post.

About this Topic