• I was working to figure out a way to apply https to the entire domain which is a mapped sub site in a network. One of the recommendations was

    if($_SERVER[‘HTTPS’]!=’on’)
    { define( ‘SUNRISE’, ‘on’ ); }

    When this was added to the wp-config file, it caused the existing secure pages to go into a redirect loop and now cannot be accessed. I of course removed the snippet, but it is stuck in redirect loop.

    Any help would be greatly appreciated.

    Furthermore – how should I go about securing the entire domain?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    *blink* Why would that… Okay.

    You want to have ONE mapped domain on your network be https? Why … I JUST did that myself for https://store.halfelf.org 🙂

    In wp-config:

    if ( $_SERVER["HTTP_HOST"] == "store.halfelf.org" ) {
        define('FORCE_SSL_ADMIN', true);
        define('FORCE_SSL_LOGIN', true);
    }

    in .htaccess:

    RewriteCond %{HTTP_HOST} ^store\.halfelf\.org
    RewriteCond %{SERVER_PORT} !443
    RewriteRule ^(.*)$ https://store.halfelf.org/$1 [R,L]

    And then install and activate the WordPress HTTPS plugin for this site.

    http://wordpress.org/plugins/wordpress-https/

    Thread Starter Frog Eat Fly

    (@zerozendesign)

    hey @ipstenu,

    This did secure login and dashboard, but that isn’t the issue. If you add something to the cart and then try to go to http://hazelwoodsoapcompany.com/store/shopping-cart/shipping/ It just goes into a redirect loop and fails.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Did you do all three steps? The .htaccess and the plugin are the important ones for the front end.

    Thread Starter Frog Eat Fly

    (@zerozendesign)

    Ok, making progress. Looks like there are just a few links that are throwing it… I think. Things like a coding comment by yoast. Do these things apply?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    A coding … comment?

    I don’t think the https plugin handles comments.

    My biggest problem was my background image. I had to delete it and re-add it as https. Then I just viewed page srouce and looked for http://

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Multisite SSL Marketpress > redirect loop’ is closed to new replies.