Use a custom splitting function for urls.