Hello,

I am trying to create a URL alias that meets the following requirements:

I have a content type called Edition Article. Each edition article uses vocabularies to categorize the information. These are all non-hierarchical vocabularies as follows:

Edition Year (e.g. 2008, 2007, 2006 etc.)
Edition Season (e.g. Fall, Winter, Spring, Summer)
Other vocabularies such as tags etc.

When we construct a URL alias for an edition article, we would like it to be constructed as follows:

domainname.com/year/season/title e.g. domainname.com/2008/Fall/this-is-my-article

How can I tell PathAuto to select only those two specific vocabularies and insert them into the alias in that specific order?

I installed the Token module but that didn't seem to be what I needed. I have searched for a solution but I cannot figure out how to do this.

Any guidance, assistance or help is greatly appreciated.

Thanks in advance.

Comments

greggles’s picture

Category: support » feature
Status: Active » Closed (duplicate)

This is not currently possible with pathauto/token. You can write a small bit of custom code to provide it, though.

See #185446: Provide tokens for each vocabulary for more details.