ty0716 Posted July 10, 2015 Report Posted July 10, 2015 I need to do: when user access our website directly to redirect dashboard pages. So.which controller function use for show website index page? Then i can check this visitor whether or not login。To redirect "http://domain//client/". I can edit theme file: 'structure.pdt' to this. but this not a good way. <?php if($_SERVER['REQUEST_URI']=='/'){header('Location: http://blesta.domain.com/client/');}?> And which constant or variable use for echo current website domain? Quote
0 Blesta Addons Posted July 10, 2015 Report Posted July 10, 2015 Just uninstall the cms plugin . Quote
0 ty0716 Posted July 10, 2015 Author Report Posted July 10, 2015 Just uninstall the cms plugin . And which constant or variable use for echo current website domain? Quote
0 Michael Posted July 10, 2015 Report Posted July 10, 2015 If you uninstall the portal plugin: settings > company > plugins > installed > portal > un-install and it will take you to the login / dashboard (if logged in). Quote
Question
ty0716
I need to do: when user access our website directly to redirect dashboard pages.
So.which controller function use for show website index page?
Then i can check this visitor whether or not login。To redirect "http://domain//client/".
I can edit theme file: 'structure.pdt' to this. but this not a good way.
And which constant or variable use for echo current website domain?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.