Canvas Documentation
Bubble Best Practices
v2
v2
  • Welcome
  • Introduction
  • Contents
  • Using Bubble
    • Bubble basics
    • Bubble best practices
      • Principles
      • Database
      • Design
      • Security
      • SEO
      • Speed
      • Modularity
        • Data triggers
  • Using the template
    • Getting the template
    • Setup
      • Quickstart
      • Features and configuration
        • Customizable landing page
        • Header menu
        • Menu focus group
        • Styles and colors
        • Extending the admin portal
        • Set a password policy
        • Enable cookies
        • Alerts
        • Emails
        • Hidden variables popup
        • Set up index page redirects
        • Set up payments on account page
        • Set up social media links
        • Search engine optimization (SEO)
        • Setting up domains
        • Legal docs
    • Extending the template using Canvas Pages
      • How it works
      • Get started
      • Setting up added modules
      • Updating Canvas styles
    • Extending the template manually
      • Padding
      • Pages, groups, and popups
      • Hiding groups
      • Styles
    • Reference
      • Pages
        • index
        • admin
        • home
        • account
        • verify
        • login and loginsimple
        • termsofservice
        • privacypolicy
        • reset_pw
        • standardpage
        • 404
      • Reusable elements
        • header
        • footer
        • signup/login
        • popupsreusable
        • menufocusgroup_template (︙)
        • menufocusgroup_user
        • menufocusgroupfeature_b
        • menufocusgroup_email
        • menufocusgroup_notifications
        • menufocusgroup_shoppingcart
        • menufocusgroup_search
        • cookiespermission
        • homepageblocks
        • admin portal reusables
          • admindashboard
          • admingeneralsettings
          • adminemail
          • adminseosettings
          • adminsocialmediasettings
          • adminsocialmediainfo
          • adminlegalpages
          • adminhomepagesetup
          • adminstyles
          • adminfeaturebacklog
      • Data and workflows
        • Data structure
        • Option sets
        • API workflows
      • Canvas Pages: lists of modules & page templates
  • Demos
    • Yelp for Books
  • Other Canvas templates
Powered by GitBook
On this page
  • Redirect Page Overview
  • Key Workflows

Was this helpful?

  1. Using the template
  2. Reference
  3. Pages

index

Landing page that redirects the user to their appropriate starting place

PreviousPagesNextadmin

Last updated 5 years ago

Was this helpful?

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 ) 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 four redirect rules on the index page:

  1. When User is logged in AND Current user's Date completed signup is empty -> Go to page login and add URL parameter m=signup

  2. When User is logged in AND Current user's Owner? is "no" AND Get stay from page url is not empty OR Current user's Date completed signup is not empty -> Go to page home

    • This means that if a user is a not an 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

  3. When User is logged in and Current user's Owner? is "yes" ANDGet stay from page url is empty -> Go to page owner

    • 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

  4. When User is logged out -> Go to page home

    • This means that logged out users should be taken to the homepage

NOTE: You should add any additional redirect rules to this index page, since every user who is logged in will be taken to it before being redirected to another page.

If the user did not complete the sign up process (e.g., verify his email if App owner requires email verification during sign up), then they will be redirected back to the page.

On other pages (like and ) 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.

login
home
login
home