I want to know how can i make my login page https and all other pages as http.
So when a user sees login page, the site address should show https, and once they are in, it should be http.

I feel this might be the right code, but I dont know what it does. Can you please let me know your thoughts please?
Thanks in Advance.