The title, hopefully, more or less explains what I'm trying to do, but I'd like to say why.

I have views set up for nodes tied to a taxonomy that uses the taxonomy term as an argument. I would like the normal taxonomy/term link to go to these views. The taxonomy in question is basically a list of geographical locations (UK regions). So, everytime someone clicks London as a taxonomy term, they will be taken to the view which is effectively a London home page.

Taxonomy redirect currently appends the term ID to whatever path you give it, so using these views, if I set the path in Taxonomy Redirect, I end up going to, for example, PATH/50 as opposed to PATH/London (where London is term 50).

So, why don't I just use the term ID in the view instead of the term name? Because I also use the argument to affect the title - "Welcome to the %1 home page", etc.

Any ideas on how I can achieve this with or without hacking away at Taxonomy Redirect?

Regards

Patrick

Comments

ThePants’s picture

Install PathAuto.
Go to Admin-> settings-> pathauto
Under "Category path settings" set the appropriate path pattern(s) to "/taxonomy/term/[cat]"
Check "bulk update category paths" to fix your previously entered categories.

Patrick Nelson’s picture

ThePants,

Thanks for that. Embarrassingly enough, I already had PathAuto installed and had just ignored the ability to set paths for taxonomy terms.

I thank you profusely for your help and am now going to buy a new brain.

Regards

Patrick

merlinofchaos’s picture

Status: Active » Closed (won't fix)

This module can't do that anyway. Hooray for pathauto, which can!