Redirection without !variables

skizzo - April 4, 2009 - 14:09
Project:Taxonomy Redirect
Version:6.x-1.3
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have two simple vocabularies with two terms each (same term names)

VID_1
- apples (tid 226) (few nodes tagged as 226)
- oranges (tid 227) (few nodes tagged as 227)

VID_2
- apples (tid 228) (no node tagged as 228)
- oranges (tid 229)  (no node tagged as 229)

I would like to simply "map" Vid_2 into Vid_1.
I configured the following redirections:

VID_2 apples taxonomy/term/226 No transform
VID_2 oranges taxonomy/term/227 No transform

Is this configuration ok? For some reason
taxonomy/term/226 will list few tagged nodes, however
taxonomy/term/228 will list no nodes at all, as if redirection were not taking place...

#1

Justin W Freeman - April 5, 2009 - 22:33

To get to the page taxonomy/term/228 are you typing the url or are you clicking a taxonomy term link (considering no nodes contain this link i'm assuming this is not the case).

Taxonomy redirect does not actually change the url in any way, just the taxonomy term links.

This is from the taxonomy redirect module page:

Note: Taxonomy redirect 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.

Is this your problem?

#2

skizzo - April 5, 2009 - 23:33

indeed, that was my problem. As soon as I created links, those were correctly redirected. Actually I created the links applying Taxonomy Menu to VID_2, rather than tagging nodes. The two children menu items get redirected to terms 226 and 227, while the parent menu item (vocabulary name) links to taxonomy/term/228 229, yelding no content... Thank you.

#3

Justin W Freeman - November 14, 2009 - 03:59
Status:active» fixed

Marking as fixed

#4

System Message - November 28, 2009 - 04:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.