I have Clean URLs, URL aliases up and running on my the site I am developing. I have also setup some basic taxonomy. The main term that I assign basic content to is "Category" Under that I have added items such as "solutions" "products" "services" etc.. These items added to Category are the main sections of my site under which there will be one or many articles. When I write an article, I see the drop down menu for category and assign that article to its appropriate category such as "product"

Right now the way the URL is rendered say for an article under products is: /content/title-of-article

What I would really like is for the URL path to show the category so ideally like this: /products/title-of-article

I have experimented with different "replacement patterns" in the Automated alias settings area but can not seem to wrap my arms around how to achieve what I am attempting. I am coming from a Joomla world where tweaking URLs was a bit different so this is a bit new for me. I think I am almost there but not quite.

Comments

matt_harrold’s picture

Using the Pathauto module ... try a replacement pattern like [catpath-raw]/[node-title]

I know I messed up the exact wording ... look for catpath or termpath in the list .. also ... I'm pretty sure it isn't node-title either ... hopefully you know what I mean.

danny englander’s picture

@matt_harrold Thanks for your help, it turns out the problem was that I had static type content also having the ability to have tags as well as being assigned to a specific category.

I looked in my Taxonomy list and tags had a higher weight than category. Once I moved category above tags, deleted the aliases and rebuilt them automatically, I now have the URL structure I want.