Custom simple url

There has been a long standing TODO for this kind of functionality. I think this is a simple implementation of it, that gives users enough flexibility to do what is required.