Import URL Alias with Node
Try the Pathauto module to do this. I found it helpful for auto-aliasing URLs in bulk, and you can also customize it by using

function MyModule_pathauto_alias_alter(&amp;$alias, array &amp;$context) {

}


it works pretty well.