• ixtrader

    (@ixtrader)


    Since I updated my Site to run only with https the wordpress login was going into an infinite loop of redirects.

    The only way out was to add the lines marked with + in the is_ssl() method in file load.php:

     function is_ssl() {
    +    // this is a workaround to avoid infinit loop
    +       if (stripos(get_option('siteurl'), 'https://') === 0) {
    +               $_SERVER['HTTPS'] = 'on';
    +       }

    No idea why this problem is only in my installation.

    Kind Regards
    Martin

    • This topic was modified 5 years ago by ixtrader.

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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘infinite redirect since only https is available on my site’ is closed to new replies.