Drupal 7 - How to add article at URL location based on taxonomy?

136 Views Asked by At

I want to be able to add articles to my Drupal 7 website where the URL location is automatically generated based on the taxonomy. Therefore, if I choose the taxonomy "News > Local > Town", it will be placed on my site at www.site.com/news/local/town.

So far, I have my taxonomy vocabulary hierarchy created. I installed Pathauto and Entity Reference. I don't know what to do from here.

When I go to the Pathauto "Configure" panel in my modules, I have three sets of paths: Content paths, Taxonomy term paths, User paths.

Under Content Paths, I believe I'm supposed to add something under Pattern for All Article Paths. I think what I'm supposed to add here are the variables to make a URL from the taxonomy.

So I researched. Exhaustively. I searched around for the last week. It seems to be a general consensus that I'm supposed to use the following line:

[term:parents:join-path]/[term:name].

This is a problem. I get an error:

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

Ok, that makes sense. The "term" token doesn't show up in my list under Content Paths. It does under Taxonomy Term Paths, but I'm trying to define my URL for my articles.

People are stuck. So am I. I'm burned out. This should be default Drupal functionality. I don't know why this is so difficult. I'm starting to change my favorable opinion of this software based on the amount of work I have to do to do things which come standard in every other CMS I've used.

Am I doing something wrong? Is there another step I need to take?

If anyone has ANY advice for me which can help us solve this problem, I would appreciate it!

0

There are 0 best solutions below