There is some issue on my site when users visit directly http://spcrepsite.com (without www.) it works accurately, But when http://www.spcrepsite.com (include www.) it will show (homepage) that page without login which is not correct.
If the user did not log in it should show a login page.
If anyone directly opens http://www.spcrepsite.com it shows the following message but show all the content
Please login first