Mixed Content: The page at ‘xxx’ was loaded over HTTPS, but requested an insecure stylesheet ‘xxx/wp-content/uploads/jevelin-dynamic-styles.css’. This request has been blocked; the content must be served over HTTPS.
How do I fix this?
Hi King,
I hope you are well today and thank you for your question.
To fix it please try adding below code in the functions.php file of Jevelin child theme and make sure the Jevelin child theme is activated.
function fix_ssl_upload_url( $url ) {
if ( is_ssl() )
$url = str_replace( 'http://', 'https://', $url );
return $url;
}
add_filter( 'upload_dir', 'fix_ssl_upload_url' );
Best regards, Shufflehound team
Popular choice Professional Developers At Your Fingertips! If you need services beyond standard support, we've got your back!
Let's get started
Services we offer: Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.Got it