added the channel parameter to accommodate duplicate url titles

Nathan, I modified your plugin slightly to accommodate duplicate url_titles across different channels.