use portal_url for url variables