• Resolved vincentvangrond

    (@vincentvangrond)


    Hi,

    I enable your plugin and the Really Simple SSL and the home page doesn’t load when I switch to english. All the other pages load fine. It gives an error stating Too Many Redirects.

    Any idea how to fix? We think about switching to pro but like this impossible.. Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dragos

    (@dragosvrejiu)

    Hello,

    Could you try enabling this Add-on ?

    Let me know if it changes anything.

    Best wishes,

    Thread Starter vincentvangrond

    (@vincentvangrond)

    Hi, thanks for the reply! I already fixed it manually by following these instructions:

    I had same problem nginx and had to do following in .htaccess

    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R=301,L]

    in wp-config.php

    define(‘FORCE_SSL_ADMIN’, true);
    define(‘RELOCATE’, TRUE);
    $_SERVER[‘HTTPS’] = ‘on’;
    define(‘WP_HOME’, ‘https://yourdomain.com’);
    define(‘WP_SITEURL’, ‘https://yourdomain.com’);

    don’t use the below with nginx unless you make sure it passes HTTPS is on to fast cgi, otherwise it won’t work,

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

    it might be of benefit log debug level in error log of nginx, this is how you get to see the flow.

    Taken from here: https://stackoverflow.com/questions/29478863/too-many-redirects-after-switching-wordpress-to-https

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Too many redirects error for home page’ is closed to new replies.