Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
get_theme_url() and https
#1
Hello forum members,

when I use get_theme_url()/someResource or something like that to include some resource into a page, the URL for the client always begins with http instead of https when the whole page is in https, resulting in mixed content errors in browsers.
I don't want to enforce https at all times, it should just work when a visitor to the site requests to use https.
phpinfo() shows that https mode is detected by php.

How can I fix this?
Reply


Messages In This Thread
get_theme_url() and https - by registration - 2015-05-09, 10:47:01
RE: get_theme_url() and https - by registration - 2015-05-09, 20:12:48
RE: get_theme_url() and https - by shawn_a - 2015-05-10, 00:16:39
RE: get_theme_url() and https - by BaronMcG - 2016-02-02, 21:18:56



Users browsing this thread: 1 Guest(s)