$ 0 0 It's quite simple. Here's the code snippet based on the current version of the 6.x pathauto module. You can run it eg. via the devel module.read more