WordPress.org

Support

Support » Plugins and Hacks » [Resolved] debug

[Resolved] debug

  • version 1.03
    change line 143 of wp-simple-301-redirect.php from this;
    //$protocol = $_SERVER[‘HTTPS’] == ‘on’ ? ‘https’ : ‘http’;
    to this
    if ( isset( $_SERVER[“HTTPS”] ) && strtolower( $_SERVER[“HTTPS”] ) == “on” ) {
    $protocol = ‘https’;
    }
    else{
    $protocol = ‘http’;
    }

    some servers dont set https variable at all.

    http://wordpress.org/plugins/simple-301-redirects/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] debug’ is closed to new replies.