• Hello, i’m french.

    My wordpress is multisite, I want enable SSL on one site. In the plugin the option enable SSL on entire site, enable SSL on All sites.

    How can i enable SSL just on one site ?

    Thanks.

Viewing 1 replies (of 1 total)
  • Thread Starter fanny300

    (@fanny300)

    In addition, my website is in SSL, and the content not enable in SSL. So all url https are redirect in http.

    I try to change the class-itsec-ssl.php, but little success for the moment :

    if ( ! isset( $protocol ) ) { $protocol = ‘http’;
    if( is_ssl() ){ $protocol = ‘https’; } //Add, keep https for sites not enable SSL.
    }
    $is_ssl = is_ssl();

    if ( $is_ssl && ( ‘http’ == $protocol ) ) {
    $redirect = “https://{$_SERVER[‘HTTP_HOST’]}{$_SERVER[‘REQUEST_URI’]}”;
    } else if ( ! $is_ssl && ( ‘https’ == $protocol ) ) {
    $redirect = “https://{$_SERVER[‘HTTP_HOST’]}{$_SERVER[‘REQUEST_URI’]}”;
    }

    I am blocked between all my sites in SSL OR check one by one each post.

    Somebody found a solution for multisite wordpress ?

    Thanks;

    • This reply was modified 7 years, 7 months ago by fanny300.
    • This reply was modified 7 years, 7 months ago by fanny300.
Viewing 1 replies (of 1 total)
  • The topic ‘Enable SSL by site on multisite’ is closed to new replies.