Replies: 0
Hello.
After installing WordPress on my domain, I notice that my site is not secured.
Then I try to read $_SERVER[“HTTPS”] variable and it’s strange.
It returns ON if I logged in with admin account
It returns OFF if I logged out or logged in with a non-admin account.
This lead to the following functions work wrong:
is_ssl()
set_url_scheme()
content_url()
get_theme_root_uri()
get_template_directory_uri()
I appreciate any help that point out what is happening with my site.
Thank you very much.