• Dear All,

    I am having issues with the dreaded redirect loop. I am only getting this error using google chrome. IE, Firefox, and Safari are fine. I am using Cloudflare and I have it set to Strict SSL because I have an SSL cert on my server.

    My DNS settings are as below.
    A Record www points to 104.13******
    A Record mydomain.com points to 104.13*****

    When I create a page rule that forces Https, the site is unavailable for all browsers.

    I have tried the Cloudflare plugin, and the Flexible SSL plugin. Nothing is working.

    Kind Regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey, in the same boat. Only Chrome is having redirect loop issues as of this past couple of days on a site I look after. Where is your site hosted and what version of WordPress are your running? Are you using WooCommerce?

    got the same issue here. wordpress 4.2.3, and woocommerce.
    when I open WooCommerce > System Status page, the home url and site url show different protocol, home url is http, but site url is https (only in chrome), but when I open this page on firefox, both home and site url is http.
    I have 2 WP installation on that server, both have same issue.

    Nice – thanks for the links. We also just solved this by un-checking the following box in WooCommerce settings > Checkout:

    Just under ‘Force secure checkout’ there is a check box:

    Force HTTP when leaving the checkout – uncheck.

    This worked for us, and I would consider this temporary until completing WooCommerce updates.

    Thread Starter Payment Plugins

    (@mrclayton)

    Thanks for the replies guys. Issue is resolved per an update to woocommerce 2.3.13.

    @nzroar, thanks, the link was very helpful.

    Kind Regards,

    @clayton, that’s really great solution, but that’s not fix my problem because I have to stick with WooCommerce 1.6 (too many customization involved if I have to upgrade to v2).

    for everyone with the same situation like me, perhaps this solution can help:

    put the following codes in your wp-config.php, right before the ‘require_once’ on the last line, so your last line of wp-config will looks like this:

    if ( ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) || ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' == $_SERVER['HTTP_X_FORWARDED_PROTO'] ) ) {
        $_SERVER['HTTPS'] = 'on';
    } else {
        $_SERVER['HTTPS'] = 'off';
    }
    
    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

    Hope it helps! ??

    I am no using woocommerce and I am having the same issue. what can I do?

    Thread Starter Payment Plugins

    (@mrclayton)

    @liveconnexus, did you try the solution by bimawidyana?

    Try going into the wp-config.php file and making the following setting right above the require_once that is at the bottom of the config file.

    $_SERVER[‘HTTPS’] == 0;

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirect Loop’ is closed to new replies.