vonski8 Posted May 25, 2012 Share Posted May 25, 2012 How can I direct the users to view the login page when they reach my website www.mywebsite.com. What they can see now are my folder and cgibin and they can access all files from that folder. What I want is, when they go to mywebsite.com, I want them to immediately see the login.php script and not see any of my files Quote Link to comment https://forums.phpfreaks.com/topic/263107-how-to-direct-users-to-login-page/ Share on other sites More sharing options...
PravinS Posted May 25, 2012 Share Posted May 25, 2012 First upload default home page (index.html,index.php etc) and add redirect to login.php code in home page Quote Link to comment https://forums.phpfreaks.com/topic/263107-how-to-direct-users-to-login-page/#findComment-1348535 Share on other sites More sharing options...
vonski8 Posted May 25, 2012 Author Share Posted May 25, 2012 Solved! Thank you for your help! Quote Link to comment https://forums.phpfreaks.com/topic/263107-how-to-direct-users-to-login-page/#findComment-1348547 Share on other sites More sharing options...
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.