I'm trying to create a website with 2 sections, Home and Business. For this I have created a vocabulary called 'Page Type' and added those section names to it.
I've added a term reference field to my content type to relate nodes to my vocabulary.
What I need to do is automatically set the titles of the nodes to include the section name they are related to, using the Pathauto module.
I'm at the settings page (/admin/config/search/path/patterns
) but I don't know what pattern to use - 'Page Type' is a vocabulary, not a content type, so I don't know how to use it as part of a pattern.
How do I add the name of the referred taxonomy term to the node path? For example, I'm expecting URLs like this:
- example.com/home/page-title
- example.com/business/page-title
So I want the node page to have a vocabulary in its path, the vocabulary of a term it is tagged with.