• Hi,

    The majority of our site is over http (at the moment) but there are a few that we need to display over https. We are getting an error on the page above:

    The page at ‘xxx’ was loaded over HTTPS, but requested an insecure stylesheet ‘xx/wp-content/plugins/search-filter/style.css?ver=1’. This request has been blocked; the content must be served over HTTPS.

    How can I make this load over HTTPS?

    Thanks,

    Penny

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @designsandcode,

    Please follow the codex of wordpress for fix https problem

    Doc

    Afterword

    (@ahateleybrowne)

    @penn_star how did you go? It looks like your sites have been corrected. I’m having this problem too but I can’t seem to find the reason for it. The problem seems native to the search&filter plugin?

    Afterword

    (@ahateleybrowne)

    If anyone else needed to correct this particular issue, you can dequeue the responsible CSS (copy any CSS you need to your own stylesheets if necessary). Though it would be preferable to have this problem corrected in the plugin.

    Add the following to your custom functions (or custom plugin):

    function remove_sf_styles(){
    	wp_dequeue_style( 'searchandfilter' );
    }
    
    add_action('wp_print_styles', 'remove_sf_styles', 20 );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with linking to css over https – mixed content’ is closed to new replies.