Generate well-formed URLs with url join