Template header has lines like this <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/icons/favicon.ico">
The problem is that bloginfo('template_directory')
and other functions that use site_url
(get_template_uri
etc.) output url with HTTP instead of HTTPS. It happens on every page excepting index page. On the main page urls are correct, with https.
So inner pages are broken because of mixed content.
Site home and wp home in settings are set to . All http links in database are replaced with https links. Nothing hepled.
What else should I check?
Template header has lines like this <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/icons/favicon.ico">
The problem is that bloginfo('template_directory')
and other functions that use site_url
(get_template_uri
etc.) output url with HTTP instead of HTTPS. It happens on every page excepting index page. On the main page urls are correct, with https.
So inner pages are broken because of mixed content.
Site home and wp home in settings are set to https://example.net
. All http links in database are replaced with https links. Nothing hepled.
What else should I check?
According to documentation, get_stylesheet_directory_uri()
should check for SSL while retrieving the theme directory url.
Try exchanging <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/icons/favicon.ico">
to <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/icons/favicon.ico">
in your header.php file.