send font-awesome using SSL
-
Can you wrap something like:
if(!empty($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] !== ‘off’ || $_SERVER[‘SERVER_PORT’] == 443){
to functions.php: wp_enqueue_style(‘zerif_fontawesome’, get_template_directory_uri() . ‘/css/font-awesome.min.css’, array(), ‘v1’);
As right now, if the user tries the URL with Chrome, they will get SSL errors as it’s sending the css via http and not https.
“However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the look of the page.”
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘send font-awesome using SSL’ is closed to new replies.