Hi, I have just moved website to Cloudflare (about 18 hours ago) and changed nameservers. It was all working fine, and a lot faster, and but now only works on mobile not desktop. Says ‘page not working / too many redirect’. Grateful if anyone can help… [Preformatted text](https://wildthingspublishing.com/)
Doesn’t work on mobile for me.
Because it is redirecting to itself.
$ curl -I https://www.wildthingspublishing.com -s | grep -E '(HTTP|location)'
HTTP/2 302
location: https://www.wildthingspublishing.com/
and
$ curl -I https://wildthingspublishing.com -s | grep -E '(HTTP|location)'
HTTP/2 302
location: https://wildthingspublishing.com/
This is possibly a rule configured in Cloudflare or on the origin server (if using one.)
Thank you. I have turned off ‘Automatic HTTPS Rewrites’ in Cloudflare setting but not sure what settings I would change on the website build, or the host (1and1 Ionos). Any thoughts? Thank you!
That’s not going to help. That simply prevents http://
automatically redirecting to https://
Have you configured any Rules (e.g. Page Rules, Bulk Redirects) in Cloudflare? An incorrectly configured rule could do this.
If not this, then it is something to do with the configuration on the origin server which I couldn’t guess at.
How bizarre. Definitely not something I configured in Cloudflare. I guess my website build (Wordpress) or host (Ionos) just not compatible with Cloudflare. Thank you anyway
Definitely not the case on either count. Simply a configuration issue.
Thanks. What do you mean by ‘configuration issue’? Someone else has suggested it is an SSL issues / HTTPS settings
The issue is that
https://wildthingspublishing.com
redirects to
https://wildthingspublishing.com
and
https://www.wildthingspublishing.com
redirects to
https://www.wildthingspublishing.com
When what you probably want is
https://wildthingspublishing.com
to redirect to
https://www.wildthingspublishing.com
OR
https://www.wildthingspublishing.com
to redirect to
https://wildthingspublishing.com
This is what I mean by a configuration issue.
Oh, I see. Where do these redirect get configured on a wordpress site? I have never set anything up like that, unless it is to do with the SSL certificate
No.
I don’t know if it is WordPress itself or the server. The WP & site URL is shown under /wp-admin/options-general.php
See this documentation for changing it
Please ensure your SSL/TLS encryption mode is set to “Full” or “Full (strict)” in the Cloudflare dashboard.
Thanks Albert, that sounds plausible!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.