Fix issues when the siteRoot and and url don't have slashes.