Redirect htaccess and Loadbalancer

Home Forums Really Simple SSL pro Redirect htaccess and Loadbalancer

This topic contains 2 replies, has 2 voices, and was last updated by  dppeqovefe 5 days, 3 hours ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #37255 Reply


    I’m using the redirect code below in htaccess:

    # HTTPS
    RewriteEngine On
    RewriteCond %{HTTP:HTTPS} !on
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    # If using www
    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteCond %{HTTP:HTTPS} !on
    RewriteRule .*{REQUEST_URI} [R,L]

    Everything is working but at Detected setup it states “Enable a .htaccess redirect or WordPress redirect in the settings to create a 301 redirect”.
    At Debug it states “htaccess rules test failed with error: Too many redirects”.

    Loadbalancer page gives too many redirects –

    In wp-config.php I have added this code:

    //Begin Really Simple SSL Load balancing fix
    if (isset($_SERVER["HTTP_X_FORWARDED_PROTO"] ) && "https" == $_SERVER["HTTP_X_FORWARDED_PROTO"] ) {
    $_SERVER["HTTPS"] = "on";
    //END Really Simple SSL


    #37275 Reply

    As your .htaccess redirect is different from the default one in Really Simple SSL, it does not detect it.

    If you insert this in your .htaccess:
    # BEGIN rlrssslReallySimpleSSL rsssl_version

    It will stop showing the notice.

    #105052 Reply


    I’m looking for a trusty insider working in at&t or Verizon wireless. I’m looking for a simple service. I will pay $1000 for single task. It may not be exactly you. You can search for them among your relatives and friends. Even if you share 1000 in two – it will be very good bonuses for both.
    you may expect full confidentiality from me.

    my contacts to find out the details:

    telegram app: @deep555
    signal app: USA (+1) 234-901-3732
    whatsapp: +1 (419) 746-0259
    text messages: USA (+1) (774) 225-0926

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Redirect htaccess and Loadbalancer
Your information: