Is there any documentation on this?
Joanzo - October 15, 2008 - 01:26
| Project: | Taxonomy Redirect |
| Version: | 5.x-1.3 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
is there any documentation on this ?
or any tutorial how to use taxonomy redirect?
cause i have no idea how to use it?
i try to redirect from www.mysite.com/taxonomy/44/all to
www.mysite.com/recipes-by-cuisine/french
what should i do?
i've tried to select vocabulary cuisine
and select French for the second list
and for filter, i use plain text
at the Enter path i write : recipes-by-cuisine/french
i leave the other blank
and it's not working, is there something wrong? please help me..

#1
I'm trying this on a Drupal 5.11 installation, and it doesn't seem to work for me either. It seems like the redirect just isn't happening.
Am I correct that I'm supposed to be able to load /taxonomy/term/3, and get redirected to /whatever/i/choose? It looks like the substitution is working, and taxonomy_redirect_term_path is returning the correct value, but the redirect isn't happening. I'm wondering if I'm missing something.
#2
Hi,
One thing to note about taxonomy redirect is that it only uses hook_term_path (http://api.drupal.org/api/function/hook_term_path/6) to modify paths for taxonomy terms, it doesn't actually create path aliases.
This means the redirect only works for taxonomy links placed by the taxonomy module. It also means if you type the url in to your browser the redirect doesn't work.
On this topic you might want to follow any progress on this issue #258146: Can we disable the old taxonomy menu path with this module.
Does this explain why your redirects aren't working or are all the taxonomy links not working either?
Your usage seems to be correct.
We will put together some documentation in the next few days though.
#3
Thanks for the clarification. I misunderstood how this was working, but it did become clear after some further work on the site I'm building.
I was actually expecting this module to use drupal_goto() instead of a path alias because of the module's name, and I think I'd prefer that anyway. If I want path aliases for taxonomy terms, I can just use pathauto. What do you think? I can work on a patch for it if that's of interest.
#4
Yes i misunderstood too, it actually works !!, but if i combine with sitemap module, and i choose the taxonomy, it's not work again
because it's added /all in all taxonomy terms i.e taxonomy/13/all
If just want to redirect a path, just use path redirect
#5
Just for the record, path_redirect works on static paths. It has no notion of wildcards like this module does.
#6
Closing
#7
Apologies, didn't realise that the issue was closed,