I currently have a login page using PHP to redirect users to a certain page once logged in. This works fine but, there is a problem if I type out the URL they should be redirected to it pops up without requiring a password. Is there a way that if they type out the URL it would redirect them to my login page? Is there a way they can only access that page by going through the login page?
I am new at this and any help would be appreciated.