• I have a site that is also cached via Cloudflare, using W3 Total Cache.

    All seemed fine.

    WordPress site check advised to Update to https. As introduced in WP 5.7
    – I wasn’t sure quite how my site qualified, whether using SSL certificate from Cloudflare perhaps [?]. No other info given.

    Anyway, hit the blue button … waited a short time, and got a blank page; now getting too many redirects when try to reach admin, either via http or https

    While the site otherwise works, http only.

    I’ve tried development mode in Cloudflare, in case some issue with this [also Full and Flexible SSL); still those redirects. Not sure why, or what I should do to try fixing.

    – there’s no “Undo” button for the https “update” [more of a “downdate” in my case so far!]

    Before doing this, had tried looking for info on this https update and Cloudflare; but hadn’t seen anything, suggesting the process should go smoothly.

    Update: in MySQL, wp options table – can see home and siteurl now with https. So seems odd to me the site is still working. But, can I change back from https to http, perhaps solving the redirect issue?
    [and then figure how to change to https]

    Advice appreciated!

    • This topic was modified 1 year, 11 months ago by docmartinhk.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator t-p

    (@t-p)

    Too many redirects issue: see if info in this tutorial helps:http://www.wpbeginner.com/wp-tutorials/how-to-fix-error-too-many-redirects-issue-in-wordpress/

    Thread Starter docmartinhk

    (@docmartinhk)

    Thanks!

    I had seen articles like this; figured not plugin as WordPress core caused this; and htaccess not changed. clearing cache, changing browser not helping.

    Just changed siteurl and home back to http from https, and now can access admin pages.

    But this didn’t give insight into why this happened; I don’t know what WordPress should do when hit the “Update your site to use HTTPS” button – it’s surely more than simply changing home and siteurl… …

    I had seen articles like this; figured not plugin as WordPress core caused this; and htaccess not changed. clearing cache, changing browser not helping.

    Just changed siteurl and home back to http from https, and now can access admin pages.

    As long as you don’t need SSL/HTTPS for your domain, then you’ve indeed “solved” the problem. But I’m wondering why then did you turn the feature on if you don’t need it?

    If you still need HTPS for your domain, then your real problem is very likely to be in your Cloudflare SSSL/TLS setup. Try the different encryption modes: one of them is likely to work without the redirect loop. (But, of course, you need to switch your WordPress site URL to use HTTPS to do this.)

    Please see: https://support.cloudflare.com/hc/en-us/articles/200170566

    Thread Starter docmartinhk

    (@docmartinhk)

    Thanks
    I’ve seen that google now prefers sites with HTTPS, for instance. [Yes, likely v small benefit in SERPS, but seemed worth a go]

    WordPress site health advises the change; seen articles re WordPress on it being better to use https even if not gathering data.
    Indeed, from WordPress:

    “It is recommended for all production WordPress sites to use HTTPS.”

    So feeling almost a bit primitive in being with http!

    I did try those encryption modes on Cloudflare; one stopped site working at all!

    – And in development mode w Cloudflare, no difference; suggesting the one-click migration hadn’t worked properly with the site.

    So I may try the migration with Cloudflare in development mode, using certificate on the website [from host]; and then indeed see which of the Cloudflare encryption modes works.

    • This reply was modified 1 year, 11 months ago by docmartinhk.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘https update and too many redirects’ is closed to new replies.