WordPress.org

Support

Support » How-To and Troubleshooting » HTTPS Redirect Loop – .htaccess?

HTTPS Redirect Loop – .htaccess?

  • Hello!

    I accidentally replaced the wrong .htaccess (the one used for wordpress instead of the one in the subdir) while working on a subdomain which is simply a folder in the root folder for my host but I managed to put it back together – at least I think I did. However, now wordpress is giving me redirect loops, but only on my chrome browser, which tries to force HTTPS all the time.

    From any other browser that connects with HTTP, it works just fine. But if I try to connect with HTTPS, I get a redirect loop. I’ve verified thats its not just my browser/computer.

    I’ve searched for other posts like this and the one that offered a solution similar to adding more checks to the is_ssl() function did not work, in fact, HTTP stopped working.

    I would GREATLY appreciate it if someone could help me. This is what my .htaccess looks like:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Thank you

Viewing 1 replies (of 1 total)
  • Edit: looking more into it, it keeps on changing from HTTPS to HTTP when I reload it on chrome. IE goes to HTTP regardless, FF using HTTPS finds a redirect loop, and with HTTP simply says ‘connecting’ but never loads.

Viewing 1 replies (of 1 total)
  • The topic ‘HTTPS Redirect Loop – .htaccess?’ is closed to new replies.
Skip to toolbar