Why can't I set a Router as a homepage?

I have created an education site. I want to set the homepage as a router so I can check whether a user is logged in already. If the user is logged in already on the site, it will redirect to the “Dashboard” page I have created for members when the user visits the home page. I have done all the code, but the issue is I can’t set the Router as a home page.

Very frustrating Wix! There is ALWAYS a feature missing when I try and use Velo for anything.

Did you every find a work around or other solution to this? I’m running into it as well.

can this be done in the page code for the home page? onready() checks wixusers.currentuser.loggedin for true and then uses wixLocation.to()?

I haven’t done it, but won’t that work?