I'm using taxonomy redirect for an hierarchical taxonomy structure. The taxonomy redirect path reads !parent_names/!name.

Everything works fine, but for the top-level taxonomy terms I get // giving me a broken url (f.i. http://sports instad of http://site-url/sports). The second and ff hierarchical terms work perfect (http://site-url/sports/football). This is true for linking custom/taxonomy breadcrumbs as well as for using the standard taxonomy url with top-level terms.

If I change the redirect path to !parent_names!name I get the top-level taxonomy right, but of course the rest has no /'s (f.i. http://site-url/Sportsfootball etc.)

I assume this happens, because the top-taxonomy does not have a parent (-> !parent_names). Is there another way out of this or maybe another token I can use like !name_path - since I don't really want to use php?

Comments

Maciej Lukianski’s picture

I have the same problem. The setting !parent_names/!name worked for top level terms in 6.x-1.1 and broke after upgrade to 6.x-1.3. Did you manage to somehow solve this problem?

Maciej Lukianski’s picture

Status: Active » Fixed

Ok. this is fixed in dev. I used the dev version and the problem is gone.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.