Ich möchte meine Webseite auf SSL umstellen, jedoch erhalte ich im Browser noch die Fehlermeldung "Diese Webseite ist nicht uneingeschränkt sicher" (Chrome) bzw. "Teile dieser Webseite sind nicht sicher" (Firefox).
Ich habe:
- die Links in den Wordpress-Einstellungen auf https geändert
- mit dem Plugin "Really Simple SSL" die wp-config.ph und die .htaccess bearbeitet
- mit dem Plugin "Better Search & Replace" alle Präfixe von http://meinedomain.tld zu https://meinedomain.tld geändert
Kann jemand helfen?
Das steht in der wp-config.php:
Code
//Begin Really Simple SSL Load balancing fix$server_opts = array("HTTP_CLOUDFRONT_FORWARDED_PROTO" => "https", "HTTP_CF_VISITOR"=>"https", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_X_FORWARDED_SSL"=>"on");
foreach( $server_opts as $option => $value ) {
if ( (isset($_ENV["HTTPS"]) && ( "on" == $_ENV["HTTPS"] )) || (isset( $_SERVER[ $option ] ) && ( strpos( $_SERVER[ $option ], $value ) !== false )) ) {
$_SERVER[ "HTTPS" ] = "on";
break;
}
}
//END Really Simple SSL
und in der .htaccess: