Getting a 301 redirect to https and then back to http
What steps have you taken to resolve the issue?
Checked DNS entires and SSL setup
What are the steps to reproduce the issue?
Happens in Safari and Chrome, no matter the cache. Also happens in curl (Cloudflare community is preventing me from posting the full output of curl as it takes them as “links”):
The list of rules and the bulk button disappears after the page fully loads - I was only just able to capture a screenshot of it before the “Create Rule” button appears, and a bunch of templates.
I’m assuming if I had one, it would show me the button?
No, if it was due to the SSL mode, the redirect would be from your origin, not from Cloudflare.
But you should always use Full (Strict) anyway, the other modes are insecure. With configuration rules, you can also change the setting per hostname instead of globally.
Yes I would use strict if I could - at the moment we have a legacy Wordpress, and the last time I tried it, the rewriting for the static content to https failed, and completely broke things. I’m thus trying 11ty on the dev.finchleyhs.org custom domain first.
The documentation for Pages seems a bit unclear - does Cloudflare itself consider Cloudflare Pages to be an “origin”, albeit an implicit one?
Could it be something to do with the fact that my root/naked domain is pointed unproved to my Wordpress server, and ‘dev’ subdomain is a proxied CNAME to Cloudflare Pages?
Is there some incompatibility with having both of those things?
At the moment the SSL mode is “automatic - off”, so does that mean it thinks it’s talking to the Cloudflare Pages “origin” with http, and causing an issue there?
As I say, I’m a bit limited testing on this domain as I don’t want to mess up the current site until I’ve got things working on the subdomain.