index
Landing page that redirects the user to their appropriate starting place
Redirect Page Overview
The purpose of this page is just to redirect the user to whatever page they need to be going to. The reason why it's blank (instead of using a page like home) is that a blank page ensures a faster redirect, so users don't see a flash of content before they are redirected.
Key Workflows
There are three redirect rules on the index page:

When
User is logged
in _ANDCurrent user's Owner? is "no"
ORGet stay from page url is "yes"
-> Go to pagehome
and add url parameterstay=yes
_This means that if a user is a non Owner or if they are redirected to this page from a different page in the app (by clicking on the logo), they should be taken to the homepage
When
user is logged in
__andCurrent user's Owner? is "yes"
andGet stay from page url is empty
-> Go to pageowner
This means that if the user is an Owner user and they're not intending to visit the homepage they should be taken to the Owner's Portal
When
user is logged out
-> Go to pagehome
This means that logged out users should be taken to the homepage
On other pages (like home and login) the app will redirect the user to the index
page whenever they log-in, so that they can be redirected to an appropriate page afterwards. Think of this page as a traffic cop - when your users log in or log out, they pass through it to be directed to the right page.
Last updated
Was this helpful?