Brendan
Brendan

Reputation: 107

Using Pathauto on Articles in Drupal

In Drupal 7, I have a site with thousands of articles. I'm using taxonomies to sort my articles, and a view which uses a content filter to display the appropriate articles with the associated terms on certain pages. Standard functionality.

I've added the paths (standard), pathauto, and Token, so I think I have all I need. In my taxonomy, I've set it up like this:

fruits (/fruits)
- apples (/fruits/apples)
- bananas (/fruits/bananas)
- grapes (/fruits/grapes)

But all my articles are on my website at www.mysite.com/articlename. I want it to appear like www.mysite.com/fruit/banana/pies.

According to everyone everywhere, I can add the path under Articles on my path configuration page using [term:parents:join-path]/[term:name].

However, I got an error:

The Pattern for all Article paths is using the following invalid tokens [term:parents:join-path], [term:name].

I'd appreciate any help I can get! It seems others are struggling with this on other forums, but don't have the same problem I do.

Am I missing a module, maybe? These tokens weren't in my list.

Upvotes: 1

Views: 101

Answers (1)

coffeduong
coffeduong

Reputation: 1463

Im my case, I have a taxonomy field for category. An use this pattern

[node:field_your_taxonomy_field]/[node:title]

Upvotes: 0

Related Questions