When I use Pathauto to auto generate URL aliases for a node that is assigned to different terms, it generates it like I want. I.e. The settings page says it uses the lightest weight for the [CAT] option. When I bulk update node paths, it uses the CAT I want.

However, when I create a new Node (I am assuming this is also generated by Pathauto ~ please correct me if I am wrong), it uses the heaviest weight term for the CAT path, thus being the CAT I don't want to use. To correct this, I have to go edit it manually or bulk update the node paths.

Is there a setting somewhere that controls this or is it a bug?

Thank you.

Comments

greggles’s picture

Title: Pathauto URL Generation » Pathauto URL Generation doesn't always get the lowest weight cat
Status: Active » Closed (duplicate)
ElGringo’s picture

I don't see any solution to the issue in the post you linked me to.

It seems to me, that when you create a node, a call to pathauto gets made that creates the alias for the node path. Is this the same routine that gets called when you bulk update node aliases? Shouldn't they be?

I would love to be able to solve this problem but am in a bit over my head in figuring out how the path alias gets generated when you create a node. Any help in the right direction would be greatly appreciated.

Thank you.

ElGringo’s picture

Version: 5.x-1.2 » 5.x-2.0-beta3
Status: Closed (duplicate) » Closed (fixed)

Downloaded latest Beta and it is working and doing what I want. Thanks!