• Taxonomy hierarchy post slugs/url

    Lets say I have Cars > VW > Van > Golf as a hierarchical taxonomy, which I created in JetEngine

    How I’m gonna get this taxonomy working as url / slugs? as soon as I activate “hierarchical” and “rewrite hierarchical” in the settings of my taxonomy “cars” it will rewrite the url as following;

    site/cars/vw/van/golf

    but the url doesnt work and gives me an “site not found” error as soon as I go further than “vw” (so further than the direct child). It doesnt work on van or golf. How I’m gonna change that?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    as soon as I activate “hierarchical”…

    Did you have an existing non-hierarchical taxonomy before making it hierarchical? If so, all previously defined, now child terms need to be edited to specify which term is their parent.

    If you’ve done that, you also need to visit the permalinks settings screen to cause the rewrite rules to be regenerated (no need to change or save, just load the page).

    If you’ve done that as well, it’s likely your theme or plugin is inadvertently altering your taxonomy query in a way that causes it to fail. Check the actual SQL used with the Query Monitor plugin. Whatever is erroneous about the query is often a clue to what the cause is.

Viewing 1 replies (of 1 total)
  • The topic ‘Taxonomy hierarchy post slugs/url’ is closed to new replies.