• Resolved walletfiber

    (@walletfiber)


    Hi their

    After attempting to install your plugin on my site, i received a ‘redirect loop’ I followed the troubleshoot instructions you listed but still got the redirect loop. I therefore had to revert back to standard https://
    I checked my .htaccess file and appears to have the standard wordpress code
    I also took a look at my wp-config file and everything appears to be set their as well.
    The only thing i can think of is my CDN which cloudflare, but it is fully compliant with SSL and should not cause any issues.

    my website: walletfiber.com

    Let me know what you think.

    Thanks!

    https://www.ads-software.com/plugins/really-simple-ssl/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi,

    Could you add the following to your wp-config.php

    define( 'RLRSSSL_DO_NOT_EDIT_HTACCESS' , TRUE );

    Then activate the plugin again.

    Then add the following to your .htaccess.

    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    </IfModule>

    Please let me know if that works for you. If that doesn’t work, remove the .htaccess rules, and your site should redirect with javascript as well.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    If this didn’t work, contact me. I’ll need some more info on the issue on your site.

    Is the issue in the .htaccess? That is the case when your site runs without problems if you remove the .htaccess redirects.

    What ssl configuration is detected? I cannot detect any setup on your site.

    Thread Starter walletfiber

    (@walletfiber)

    I am still getting the same re-direct loop error.

    Thread Starter walletfiber

    (@walletfiber)

    Will contact you to discuss this further.But i don’t believe its coming from .htaccess hence even after removing the rules, I am getting a ‘This webpage has a redirect loop’ error.
    I am not sure how to go about finding out the ssl configuration but here is what a an SSL checker website gave me: https://www.sslshopper.com/ssl-checker.html#hostname=walletfiber.com

    Should i leave my website in this broken phase ?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    For other readers of this thread: in cases where a loadbalancer is detected, but the $_SERVER[“HTTPS”] is not set to “on”, wordpress creates a redirect loop. This can be solved by adding the following code to the wp-config.php (be sure to put it on top, no below the existing code):

    if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"] ) && "https" == $_SERVER["HTTP_X_FORWARDED_PROTO"] ) {
    $_SERVER["HTTPS"] = "on";
    }

    As of version 2.1.14, the plugin will generatie this code automatically.

    Thread Starter walletfiber

    (@walletfiber)

    Thank you, everything is working perfectly now!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Still getting Re-direct looop.’ is closed to new replies.