• Hello all,

    I’ve been using flexible ssl from cloudfront for over a year and is quite happy with it. But i made a change to my server, and updated the cloudfront A record to point to my new server on AWS. But my flexible ssl is causing a redirect loop. I use the cloudflare flexible ssl plugin and have page rule setup for always use https.

    I did a redirect check and seems like it is going from http to https back to http and back to https, etc. below is the results:

    Theteafarm.com

    HTTP/1.1 301 Moved Permanently
    Date: Sun, 15 Jan 2017 08:29:47 GMT
    Transfer-Encoding: chunked
    Connection: keep-alive
    Set-Cookie: __cfduid=d3d84b2bdfbbb1d7dbae38a210ba7cf861484468987; expires=Mon, 15-Jan-18 08:29:47 GMT; path=/; domain=.theteafarm.com; HttpOnly
    Location: https://theteafarm.com/
    Server: cloudflare-nginx
    CF-RAY: 3217f646f72a0ec7-EWR

    https://theteafarm.com/

    HTTP/1.1 302 Found
    Date: Sun, 15 Jan 2017 08:29:48 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Set-Cookie: __cfduid=d2aeceda3afc38b1e85120440ebb20d281484468988; expires=Mon, 15-Jan-18 08:29:48 GMT; path=/; domain=.theteafarm.com; HttpOnly
    X-Powered-By: PHP/7.0.14
    Location: https://theteafarm.com/
    Server: cloudflare-nginx
    CF-RAY: 3217f64aaded21e6-EWR

    Can someone chimp in on how to fix?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter theteafarm

    (@theteafarm)

    I resolved it.

    I updated the wp-config file and that fixed it.

    lhynn2172

    (@lhynn2172)

    Hi Theteafarm,

    I’m having the same issue and it’s slowing down the server response time in my website.
    Would you mind sharing on how you resolved this issue by updating the wp-config file?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cloudflare redirect loop’ is closed to new replies.