fixup the handling of site_url