Forums
(@wwookki)
9 years, 7 months ago
thank you very much @frique. i wish i found your workaround earlier as i went ahead and bought an SSL certificate!
I have added a condition to your suggested code which works well for my sites:
if (!is_ssl()) { $_SERVER['HTTPS'] = false; }