Removed references to portal_baseurl and replaced them with wiseBaseURL.