If I add those lines I get Redirecting errors. Page wont open and it says it redirected many times…
I have tested it everywhere. When I open the website at first the homepage appears as non secure. If i click at the other menus and go back to homepage then it becomes secure.