I was trying to get taxonomy terms to link to a view. I have friendly urls turned on and global redirect installed, with pathauto setting an alias for the vocabulary, but realise that the system is using the taxonomy/term url, therefore installed taxonomy_redirect and set the vocab to point to the view url - but no redirection seems to occur..... Tried removing the pathauto setting so that the terms point to taxonomy/term but still no redirection occurs... any ideas?

Comments

oun’s picture

Title: Not redirecting » Fix this in the other module
Status: Active » Fixed

I have the same problem but found the solution. Due to the issue mentioned here http://drupal.org/node/124847 I can fix the problem by changing 'taxonomy/term/' to taxonomy_term_path($term) in the source code of the module that incorrectly show redirected link. The problem is not in the taxonomy redirect module.

For example I need to change all taxonomy term link in a vocabulary from taxonomy/term/TERMID to faq/TERMID and Display all term in that vocabulary by using taxonomy list. I go to taxonomy_list.module and change line 266 which has hard code 'taxonomy/term' . $term->tid so you can see that it will never change to what I want (faq/TERMID). If you want to make it call to hook method defined in taxonomy_redirect.module, then you have to change it to taxonomy_term_path($term).

Anonymous’s picture

Status: Fixed » Closed (fixed)