11-20-2016, 06:43 PM
Seems to me, the simplest way to fix that would be to do one of two things...
1. Go into the admin panel and mark http://www.mydomain.net/client_files/index.php as private as private and only give access to logged in users...that will redirect them to your true homepage (which I'm guessing is http://www.mydomain.net).
2. If that http://www.mydomain.net/client_files/index.php is actually your root userspice index.php, then I would do something like this on your index.php page...
That should redirect anyone who tries to go to that index.php page without being logged in right to the login page.
1. Go into the admin panel and mark http://www.mydomain.net/client_files/index.php as private as private and only give access to logged in users...that will redirect them to your true homepage (which I'm guessing is http://www.mydomain.net).
2. If that http://www.mydomain.net/client_files/index.php is actually your root userspice index.php, then I would do something like this on your index.php page...
Code:
if(!$user->isLoggedIn()){
Code:
Redirect::to('users/login.php');
Code:
}
That should redirect anyone who tries to go to that index.php page without being logged in right to the login page.