I have a taxonomy setup like this:

Category - vocab
Articles - Main Item
Computers - Sub Item of Articles
Software - Sub Item of Computers

The category aliases are getting setup just fine. However when I create an article and select the software item software it seems to be using the node settings for the url. I have my taxonomy alias setup as [catpath-raw] and my node alias setup as [title-raw]. When I create a page it uses the [title-raw] setting instead of the [catpath-raw] setting. Any ideas, I can give more details.

Comments

greggles’s picture

Priority: Critical » Normal
Status: Active » Postponed

I have my taxonomy alias setup as [catpath-raw] and my node alias setup as [title-raw]. When I create a page it uses the [title-raw] setting instead of the [catpath-raw] setting.

Sounds like it's working.

Maybe you want your node pattern to be [catpath-raw]/[title-raw] ?

ngreenwood6’s picture

yeah I do but it says [catpath-raw] is not available for the node setting. How can I make this available?

greggles’s picture

Ah. [termpath-raw]

ngreenwood6’s picture

Status: Postponed » Active

I already tried that but it only seems to get the top term and not the rest. So instead of the alias being articles/computers/software it is just articles/. I think it is because I am selecting multiple terms. I want it to pick from the lowest subcategory but it only picks the highest. If i select just the software the alias is right but with articles computers and software selected it uses articles for the alias. Is there anyway to get it to select the bottom term for the alias?

ngreenwood6’s picture

Assigned: ngreenwood6 » Unassigned
Status: Active » Needs review

Any updates?

greggles’s picture

Status: Needs review » Active

Choosing a vocabulary for [term] in Token and Pathauto http://drupal.org/node/206912

ngreenwood6’s picture

So if I am not mistaken by reading that page. The only option here is to give each of my menu items a weight. Then the will be ordered by that weight. If that is the case why didnt you just say that and save me the time from having to try and decipher that page. Also it could be written a little clearer.

greggles’s picture

If that is the case why didnt you just say that and save me the time from having to try and decipher that page.

You want me to rewrite it here to save you time? No.

Also it could be written a little clearer.

You have the ability to edit, please do http://drupal.org/node/206912/edit

dave reid’s picture

Status: Active » Fixed

You should be selecting only the child-most taxonomy term. That's the only way to not confuse pathauto. :/

Status: Fixed » Closed (fixed)

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