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.
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.
I am still getting the same re-direct loop error.
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 ?
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.
Thank you, everything is working perfectly now!