Reputation: 33
I have two vocabularies: country and type
Country terms: tid = 1 name = USA ...
Type terms: tid = 10 name = students
I need to generate node path next way (terms id instead of names): study/1/10/[node-title] study/2/10/[node-title]
I have only this option: study/[node:field_country]/[node:field_type]]/[node-title]
Is there any way to make study/[tid-1]/[tid-2]/[node-title] ?
Upvotes: 0
Views: 1340
Reputation: 780
you can do this by using pathauto module
1-enable pathauto module
2-go to http://example.com/admin/config/search/path/patterns
3-expand TAXONOMY TERM PATHS
4-change [term:vocabulary]/[term:name]
with [term:vocabulary:vid]/[term:tid]
good luck
Upvotes: 0