hello

im trying to make a website with sub categories or sub content types and i want to create nodes that can have the right URL pattern

lets say i want to sell anymals

Animals
-Buy
--Dogs
--Labrador
--**Dog#1 The Actual NODE
--DoverMan
--**Dog #2The Actual NODE
--Cats
-Sell
--Dogs
--Labrador
--DoverMan
--Cats

so when i add an animal content type, it will have the correct URL for example
example.com/animals/buy/dogs/labrador/dog#1

is there any module that can help me with that?

thank you

Comments

You could use a vocabulary called animals with a hierarchical set of terms.

You could use the hierarchical select module so the linage is saved as well as the selected term.

Then in the content type add a term reference field that references the animal vocabulary and uses the hierarchical select widget (make sure to configure to save linage)

Then use the path auto module to set the path alias, you will be able to use the taxonomy terms in the alias.

Thanks a lot for your answer,

i will apply your advice and post back

thanks

the node tokens for URL patterns give you the value of your fields, i managed to create the URL patterns perfectly just with the tokens module.

thank you