If you require a user to login in order to access the portal and you want them redirected to the main portal page you can use the following HTML below.
a id="login" title="Log In" href="/portal/logon.aspx?ReturnUrl=%2fportal%2fdefault.aspx" rel="noopener;" style="margin-top: 25px;"
?ReturnUrl=%2fportal%2fdefault.aspx
Full URL:
https://domainname.sherpadesk.com/portal/logon.aspx?ReturnUrl=%2fportal%2fdefault.aspx
After login users will be redirected to portal, not dashboard.