How to autocreate paths for unaliased nodes without touching existing aliases?

Events happening in the community are now at Drupal community events on www.drupal.org.
bodo maass's picture

I would like pathauto to have a behaviour where, when I edit nodes, it will automatically create a new alias for those nodes that don't have an alias yet, but Pathauto should never modify my existing aliases or create duplicate aliases.

With the current set of update actions in Pathauto 5.x-2.x-dev this is not possible. With the update action 'Do nothing' it won't create an alias for unaliased nodes at all. With update action 2 (Create a new alias. Leave the existing alias functioning.) it will create duplicate aliases, which is not what I want. And with update action 3 (Create a new alias. Delete the old alias.) it will overwrite my existing aliases, which is also not what I want.

So I think we need a fourth option: Leave existing aliases untouched, but create a new alias if there isn't one yet.

How do other people feel about this?

I have just opened an issue for pathauto about this: http://drupal.org/node/228762

Paths

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: