is_ssl() says: no, SSL not detected
-
Hello!
I have recently installed the plugin and added the code suggested into my wp-config.php file above require_once:
/** SSL Redirection Plugin Dependency */
if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;/** Sets up WordPress vars and included files. */
require_once(ABSPATH . ‘wp-settings.php’);When I run the test I’m still being told no,SSL not detected.
I am using Cloudflare as my reverse proxy and signed up directly through their services. With this I’m also using their Flexible SSL plugin.
No other caching plugins are enabled, however I am using Wordfence for security.
Might anyone have any suggestions about things to try? Did I add the code wrong perhaps?
If more information is needed to troubleshoot I’ll gladly provide further details.
Thank you,
Andrew W.
https://www.ads-software.com/plugins/ssl-insecure-content-fixer/
- The topic ‘is_ssl() says: no, SSL not detected’ is closed to new replies.