Cleans up URLs