WordPress.org

Ready to get started?Download WordPress

Forums

Simple 301 Redirects
[resolved] debug (2 posts)

  1. wolfdogg_
    Member
    Posted 10 months ago #

    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/

  2. scottnelle
    Member
    Plugin Author

    Posted 10 months ago #

    Please update to the latest version, 1.05. This issue has been resolved in the latest version.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.