Auto-set site.url when necessary, make site.url include full root
including scheme and trailing slash.