• Hello. My hosting support setup to my site free SSL certificate from StartSSL correctly. you can check it on https://www.ssllabs.com/ssltest/analyze.html?d=odinaev.ru

    My problem is that my site odinaev.ru don’t open correctly with HTTPS.
    When I add the rules to .htaccess it show ERR_TO_MANY_REDIRECTS.

    now, I just delete all records on .htaccess, and don’t know what to do.
    I tried a lot of thing when I googling that problem, but nothing help.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • quicksdk

    Login to your site and go to Dashboard -> Settings(General Settings)
    And change the “WordPress Address (URL)” and “Site Address (URL)” to point to new https links instead of http. Also go to Dashboard-> Settings -> Permalinks page and hit save changes button to re-generate the .htaccess file you’ve deleted.

    Thread Starter quicksdk

    (@quicksdk)

    When I change the @ “WordPress Address (URL)” and “Site Address (URL)” to point to new https links instead of http.@ then I can’t to login to admin panel, it show ERR_TO_MANY_REDIRECT loop.

    What should I do?

    quicksdk

    I can see that you are using nginx so .htaccess has no effect on anything.
    Can you share the nginx config for this site?

    Thread Starter quicksdk

    (@quicksdk)

    https://youtu.be/DHZk44GYk9c

    Yes, my hosting use apache + nginx, now I am waiting for support’s answer about nginx config

    Thank you

    Thread Starter quicksdk

    (@quicksdk)

    Gagan Deep Singh, my support ask me, which specifically information about nginx config I need?

    Thanks

    quicksdk

    I have a feeling that the Nginx configured on your server, is sending the requests to Apache as HTTP instead of HTTPS which in turn is sending that to PHP as HTTP request, so WordPress is thinking its an HTTP request and trying to redirect to HTTPS and falling into an infinite redirection loop. So I need to see the part of Nginx config responsible for handling the HTTPS requests, so as to ensure if thats what happening on the site.

    Thread Starter quicksdk

    (@quicksdk)

    My support reply: “The current configuration of the interface server Nginx – using a redirect requests via HTTPS, to PHP files on port 443 Apache. When handling static files (for example , js- and css- files) redirection is not performed , processing is carried out by Nginx.”

    quicksdk

    And now I wonder how they are able to run two different services (nginx and apache) on the same port(443).

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

The topic ‘HTTPS Loop for whole site’ is closed to new replies.