Redirect according to depth

droople - May 2, 2009 - 15:58
Project:Taxonomy Redirect
Version:6.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

I have a taxonomy that is "3 Deep" Country|County|City

I want all City Taxonomies to redirect to the County taxonomies.

I want all level 3 taxonomies to redirect to level 2.

The reason I want this is to have a panel override of a taxonomy, however I know most cities will have 1 or 2 posts or even none, so I don't want users to repeatedly get empty pages. At least at County level there will be substantial content to render a presentable landing page.

Cheers

#1

Justin W Freeman - November 14, 2009 - 04:05

You should now be able to use php code to get this to work.

If you need help with the code I can have a look into it.

#2

Justin W Freeman - November 14, 2009 - 13:06
Status:active» duplicate

This is a duplicate of #307917: Redirect to different url related to taxonomy depth

For an example of how to do this see that issue

 
 

Drupal is a registered trademark of Dries Buytaert.