WordPress.org

Ready to get started?Download WordPress

Forums

Multisite + SSL + Marketpress > redirect loop (6 posts)

  1. zerozendesign
    Member
    Posted 6 months ago #

    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?

  2. *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/

  3. zerozendesign
    Member
    Posted 6 months ago #

    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.

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

  5. zerozendesign
    Member
    Posted 6 months ago #

    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?

  6. 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://

Reply

You must log in to post.

About this Topic