In my application, users have to login first before accessing the website.
So now what I am doing, I have created one custom login page.
How can I redirect a user to the login page if he/she is not logged in yet.
Should i customize wp-login.php for login? Which is better way, 1. Redirect user to login page or 2. wp-login.php